public interface Border
Style.getBorder()
,
Outline
Modifier and Type | Method and Description |
---|---|
void |
apply(GraphicsContext g,
Rectangle bounds,
int color)
Applies the border on a graphics context.
|
void |
unwrap(Rectangle rectangle)
Removes this border wrapping from a rectangle.
|
void |
wrap(Rectangle rectangle)
Adds this border wrapping to a rectangle.
|
void wrap(Rectangle rectangle)
rectangle
- the rectangle to wrap.void unwrap(Rectangle rectangle)
rectangle
- the rectangle to unwrap.void apply(GraphicsContext g, Rectangle bounds, int color)
g
- the graphics context.bounds
- the available rectangle.color
- the border color.