| Constructor and Description |
|---|
RectangularBorder(int color,
int thickness)
Creates a rectangular border 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 |
getColor()
Gets the color.
|
int |
getThickness()
Gets the thickness.
|
int |
hashCode() |
public RectangularBorder(int color,
int thickness)
The given thickness is clamped between 0 and Character.MAX_VALUE.
color - the color.thickness - the thickness.public int getColor()
public int getThickness()
public void apply(Outlineable outlineable)
Outlinepublic void apply(ej.microui.display.GraphicsContext g,
Size size)
Outlinepublic boolean equals(@Nullable
java.lang.Object obj)