Class LineStyle


  • public class LineStyle
    extends java.lang.Object
    Style information for drawing a line.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  LineStyle.Pattern  
    • Constructor Summary

      Constructors 
      Constructor Description
      LineStyle​(java.util.Optional<RGBA> color, java.util.Optional<LineStyle.Pattern> pattern)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<RGBA> getColor()
      The color of the line (default: transparent)
      java.util.Optional<LineStyle.Pattern> getPattern()
      The line pattern (default: solid)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LineStyle

        public LineStyle​(java.util.Optional<RGBA> color,
                         java.util.Optional<LineStyle.Pattern> pattern)
    • Method Detail

      • getColor

        public java.util.Optional<RGBA> getColor()
        The color of the line (default: transparent)
      • getPattern

        public java.util.Optional<LineStyle.Pattern> getPattern()
        The line pattern (default: solid)