Documentation of 'org.opengis.go.display.style.LineStyle' Java class
LineStyle
org.opengis.go.display.style

Class 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 DisplayCapabilities object (that was itself retrieved from a Canvas). 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 LineStyle instances. If clients need to use the line style name to find a line style they should search the array returned by getSupportedLineStyles() from the DisplayCapabilities instance 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 Detail

      • SINGLE

        public static final LineStyle SINGLE
        The line should be drawn as a single line.
      • DOUBLE

        public static final LineStyle DOUBLE
        The line should be drawn as double parallel lines.
    • Method Detail

      • values

        public static LineStyle[] values()
        Returns the list of LineStyles.
      • family

        public CodeList[] family()
        Returns the list of enumerations of the same kind than this enum.
        Specified by:
        family in class CodeList<LineStyle>

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.