org.opengis.go.display.style
Class DashArray
- java.lang.Object
-
- org.opengis.util.CodeList<E>
-
- org.opengis.util.SimpleEnumerationType<LinePattern>
-
- org.opengis.go.display.style.LinePattern
-
- org.opengis.go.display.style.DashArray
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<LinePattern>
public class DashArray extends LinePattern
Indicates the various enumerations of drawing a pattern line. An implementor can create aDashArrayby passing a float array in the constructor that would indicate the dash pattern to be drawn.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static DashArrayNONEThe line should be drawn with no dash array.-
Fields inherited from class org.opengis.go.display.style.LinePattern
DASHED, DOT_DASHED, DOTTED, LONG_DASHED, LONG_DOT_DASHED
-
-
Constructor Summary
Constructors Constructor and Description DashArray(java.lang.String name, java.lang.String description, float[] pattern)Construct an enumeration using the specified pattern.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description CodeList[]family()Returns the list of enumerations of the same kind than this enum.float[]getDashPattern()Returns the dash pattern.static LinePattern[]values()Returns the list ofDashArrays.-
Methods inherited from class org.opengis.util.SimpleEnumerationType
getDescription, getIcon, getNullIcon, toString
-
-
-
-
Field Detail
-
NONE
public static final DashArray NONE
The line should be drawn with no dash array.
-
-
Constructor Detail
-
DashArray
public DashArray(java.lang.String name, java.lang.String description, float[] pattern)Construct an enumeration using the specified pattern.
-
-
Method Detail
-
getDashPattern
public float[] getDashPattern()
Returns the dash pattern.
-
values
public static LinePattern[] values()
Returns the list ofDashArrays.
-
family
public CodeList[] family()
Returns the list of enumerations of the same kind than this enum.- Overrides:
familyin classLinePattern
-
-
DataMelt 3.0 © DataMelt by jWork.ORG