public class BorderStroke
extends java.lang.Object
implements java.awt.Stroke
Constructor and Description |
---|
BorderStroke(int width,
Border.Style style,
boolean reverse)
Creates a new CSS stroke.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Shape |
createStrokedShape(java.awt.Shape s) |
public BorderStroke(int width, Border.Style style, boolean reverse)
width
- Border widthstyle
- Border css stylereverse
- Should be true for right and bottom border - used for reversing the shape of 'double' style border.