Constructor and Description |
---|
SimpleRectangularBorder()
Creates an empty simple rectangular border (0 pixel thickness).
|
SimpleRectangularBorder(int thickness)
Creates a simple rectangular border specifying its thickness.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(ej.microui.display.GraphicsContext g,
Rectangle bounds,
int color)
Applies the border on a graphics context.
|
int |
getThickness()
Gets the thickness.
|
void |
setThickness(int thickness)
Sets the thickness.
|
void |
unwrap(Rectangle rectangle)
Removes this border wrapping from a rectangle.
|
void |
wrap(Rectangle rectangle)
Adds this border wrapping to a rectangle.
|
public SimpleRectangularBorder()
public SimpleRectangularBorder(int thickness)
thickness
- the thickness to set.public void setThickness(int thickness)
thickness
- the thickness to set.public int getThickness()
public void wrap(Rectangle rectangle)
Border
public void unwrap(Rectangle rectangle)
Border