public class BorderHelper extends Object
Modifier and Type | Method and Description |
---|---|
static void |
drawRectangularBorder(GraphicsContext g,
int width,
int height,
int left,
int top,
int right,
int bottom)
Draw a rectangular border with the given dimensions and given thickness for each side, using the given graphics
context.
|
public static void drawRectangularBorder(GraphicsContext g, int width, int height, int left, int top, int right, int bottom)
g
- the graphics context to use.width
- the width of the border.height
- the height of the border.left
- the left thickness of the border.top
- the top thickness of the border.right
- the right thickness of the border.bottom
- the bottom thickness of the border.