com.stimulsoft.base.drawing.enums
Enum StiPenStyle

java.lang.Object
  extended by java.lang.Enum<StiPenStyle>
      extended by com.stimulsoft.base.drawing.enums.StiPenStyle
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StiPenStyle>

public enum StiPenStyle
extends java.lang.Enum<StiPenStyle>


Enum Constant Summary
Dash
          Dotted line.
DashDot
          Dash-dotted line.
DashDotDot
          Dotted-dash-dash line.
Dot
          Dotted line.
Double
          Double line.
None
          No.
Solid
          Solid line.
 
Method Summary
static StiPenStyle forValue(int value)
           
 float[] getDash(float width)
           
 int getValue()
           
static StiPenStyle valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StiPenStyle[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Solid

public static final StiPenStyle Solid
Solid line.


Dash

public static final StiPenStyle Dash
Dotted line.


DashDot

public static final StiPenStyle DashDot
Dash-dotted line.


DashDotDot

public static final StiPenStyle DashDotDot
Dotted-dash-dash line.


Dot

public static final StiPenStyle Dot
Dotted line.


Double

public static final StiPenStyle Double
Double line.


None

public static final StiPenStyle None
No.

Method Detail

values

public static StiPenStyle[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (StiPenStyle c : StiPenStyle.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static StiPenStyle valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getValue

public int getValue()

forValue

public static StiPenStyle forValue(int value)

getDash

public float[] getDash(float width)