Class SolidLineStyleLibrary

    • Field Detail

      • colors

        private ColorLibrary colors
        Reference to the color library.
      • dotcolor

        private java.lang.String dotcolor
        Color of "uncolored" dots
      • graycolor

        private java.lang.String graycolor
        Color of "grayed out" dots
    • Constructor Detail

      • SolidLineStyleLibrary

        public SolidLineStyleLibrary​(StyleLibrary style)
        Constructor.
        Parameters:
        style - Style library to use.
    • Method Detail

      • formatCSSClass

        public void formatCSSClass​(CSSClass cls,
                                   int style,
                                   double width,
                                   java.lang.Object... flags)
        Description copied from interface: LineStyleLibrary
        Add the formatting statements to the given CSS class. Note: this can overwrite some existing properties of the CSS class.
        Specified by:
        formatCSSClass in interface LineStyleLibrary
        Parameters:
        cls - CSS class to modify
        style - style number
        width - line width
        flags - meta objects to request line variants