Constructor and Description |
---|
UniformOutline(int thickness)
Creates a uniform outline specifying its thickness.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(ej.microui.display.GraphicsContext g,
Size size)
Applies the outline on a graphics context.
|
void |
apply(Outlineable outlineable)
Removes the thickness of this outline from the given object.
|
boolean |
equals(java.lang.Object obj) |
int |
getThickness()
Gets the thickness.
|
int |
hashCode() |
public UniformOutline(int thickness)
The given thickness is clamped between 0
and Character.MAX_VALUE
.
thickness
- the thickness.public int getThickness()
public void apply(Outlineable outlineable)
Outline
public void apply(ej.microui.display.GraphicsContext g, Size size)
Outline
public boolean equals(@Nullable java.lang.Object obj)