public interface Outline
An outline is used to wrap the content of a widget. The widget is wrapped in the following sequence: first the
padding, then the border, and finally the margin.
Style.getMargin()
,
Style.getBorder()
,
Style.getPadding()
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 |
hashCode() |
void apply(Outlineable outlineable)
outlineable
- the object to unwrap.void apply(ej.microui.display.GraphicsContext g, Size size)
g
- the graphics context.size
- the size to apply on.boolean equals(@Nullable java.lang.Object obj)
equals
in class java.lang.Object
int hashCode()
hashCode
in class java.lang.Object