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

Class LineCap

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<LineCap>


    public class LineCap
    extends SimpleEnumerationType<LineCap>
    Instances of LineCap indicate the various ways of capping the end of a styled line. This class defines static constants for all of the standard choices.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static LineCap BUTT
      This constant indicates that line ends should be drawn with no extra decoration.
      static LineCap ROUND
      This constant indicates that line ends should be drawn with a half circle of diameter equal to the width of the line.
      static LineCap SQUARE
      This constant indicates that the line should be capped by a straight line extending half the line's width past the endpoint of the line.
    • Field Detail

      • BUTT

        public static final LineCap BUTT
        This constant indicates that line ends should be drawn with no extra decoration.
      • ROUND

        public static final LineCap ROUND
        This constant indicates that line ends should be drawn with a half circle of diameter equal to the width of the line.
      • SQUARE

        public static final LineCap SQUARE
        This constant indicates that the line should be capped by a straight line extending half the line's width past the endpoint of the line.
    • Method Detail

      • values

        public static LineCap[] values()
        Returns the list of LineCaps.
      • family

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

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.