| Constructor and Description |
|---|
FlexibleRectangularBorder(int color,
int top,
int right,
int bottom,
int left)
Creates a flexible rectangular border specifying its color and edges 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 |
getBottom()
Gets the bottom thickness.
|
int |
getColor()
Gets the color.
|
int |
getLeft()
Gets the left thickness.
|
int |
getRight()
Gets the right thickness.
|
int |
getTop()
Gets the top thickness.
|
int |
hashCode() |
public FlexibleRectangularBorder(int color,
int top,
int right,
int bottom,
int left)
The given thickness values are clamped between 0 and Character.MAX_VALUE.
color - the color.top - the top thickness.right - the right thickness.bottom - the bottom thickness.left - the left thickness.public int getColor()
public int getTop()
public int getBottom()
public int getLeft()
public int getRight()
public void apply(Outlineable outlineable)
Outlinepublic void apply(ej.microui.display.GraphicsContext g,
Size size)
Outlinepublic boolean equals(@Nullable
java.lang.Object obj)