Class BorderStroke

  • All Implemented Interfaces:
    Stroke

    public class BorderStroke
    extends Object
    implements Stroke
    Stroke for drawing the CSS borders.
    Author:
    burgetr
    • Constructor Detail

      • BorderStroke

        public BorderStroke​(int width,
                            Border.Style style,
                            boolean reverse)
        Creates a new CSS stroke.
        Parameters:
        width - Border width
        style - Border css style
        reverse - Should be true for right and bottom border - used for reversing the shape of 'double' style border.