Package cz.vutbr.fit.layout.io
Class BorderStroke
- java.lang.Object
-
- cz.vutbr.fit.layout.io.BorderStroke
-
-
Constructor Summary
Constructors Constructor Description BorderStroke(int width, Border.Style style, boolean reverse)
Creates a new CSS stroke.
-
-
-
Constructor Detail
-
BorderStroke
public BorderStroke(int width, Border.Style style, boolean reverse)
Creates a new CSS stroke.- Parameters:
width
- Border widthstyle
- Border css stylereverse
- Should be true for right and bottom border - used for reversing the shape of 'double' style border.
-
-
Method Detail
-
createStrokedShape
public Shape createStrokedShape(Shape s)
- Specified by:
createStrokedShape
in interfaceStroke
-
-