Class LineStyle
- java.lang.Object
-
- org.opengis.util.CodeList<E>
-
- org.opengis.util.SimpleEnumerationType<LineStyle>
-
- org.opengis.go.display.style.LineStyle
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<LineStyle>
public class LineStyle extends SimpleEnumerationType<LineStyle>
Indicate the various enumerations of drawing a line. This class defines static constants for all of the standard choices. Depending on the choice of line style, the current foreground color, and background color may affect the appearance of an object.An implementation is not required to implement the entire list of available line styles. At runtime, the list of implemented line styles can be retrieved from a
DisplayCapabilitiesobject (that was itself retrieved from aCanvas). An implementation may also implement other line styles not listed here.NOTE: Two different implementations may have line styles with the same name, but use different
LineStyleinstances. If clients need to use the line style name to find a line style they should search the array returned bygetSupportedLineStyles()from theDisplayCapabilitiesinstance associated with the correct provider.This list was compiled by examining the behavior of various software packages. Where possible, a reference document is given. For others, a description of the style or an indication of the software where the style can be seen is given.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static LineStyleDOUBLEThe line should be drawn as double parallel lines.static LineStyleSINGLEThe line should be drawn as a single line.
-
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.static LineStyle[]values()Returns the list ofLineStyles.-
Methods inherited from class org.opengis.util.SimpleEnumerationType
getDescription, getIcon, getNullIcon, toString
-
-
DataMelt 3.0 © DataMelt by jWork.ORG