org.opengis.go.display.style
Class DashArray
Object
CodeList
SimpleEnumerationType
LinePattern
DashArray
- All Implemented Interfaces:
- Serializable, Comparable
public class DashArray
- extends LinePattern
Indicates the various enumerations of drawing a pattern line.
An implementor can create a DashArray by passing
a float array in the constructor that would indicate the dash
pattern to be drawn.
- Version:
- $Revision: 1.4 $, $Date: 2005/05/16 10:54:57 $
- See Also:
- Serialized Form
|
Constructor Summary |
DashArray(String name,
String description,
float[] pattern)
Construct an enumeration using the specified pattern. |
NONE
public static final DashArray NONE
DashArray
public DashArray(String name,
String description,
float[] pattern)
- Construct an enumeration using the specified pattern.
getDashPattern
public float[] getDashPattern()
- Returns the dash pattern.
- REVISIT OPEN ISSUE (a GeoAPI comment)
- Should clone the array in order to protect the enum from change.
|