Constructor and Description |
---|
SimpleOutline()
Creates an empty simple outline (0 pixel thickness).
|
SimpleOutline(int thickness)
Creates a simple outline specifying its thickness.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(ej.microui.display.GraphicsContext g,
Rectangle rectangle)
Applies the outline on a graphics context.
|
int |
getThickness()
Gets the thickness.
|
void |
setThickness(int thickness)
Sets the thickness.
|
void |
unwrap(Rectangle rectangle)
Removes the outline thickness from a rectangle.
|
void |
wrap(Rectangle rectangle)
Adds the outline thickness to a rectangle.
|
public SimpleOutline()
public SimpleOutline(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)
Outline
public void unwrap(Rectangle rectangle)
Outline