Package ej.mwt.style.outline
Interface Outline
-
- All Known Implementing Classes:
FlexibleOutline,FlexibleRectangularBorder,FlexibleRectangularMulticoloredBorder,NoOutline,RectangularBorder,RoundedBorder,UniformOutline
public interface OutlineRepresents an outline that wraps a rectangle.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.

- See Also:
Style.getMargin(),Style.getBorder(),Style.getPadding()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapply(ej.microui.display.GraphicsContext g, Size size)Applies the outline on a graphics context.voidapply(Outlineable outlineable)Removes the thickness of this outline from the given object.booleanequals(java.lang.Object obj)inthashCode()
-
-
-
Method Detail
-
apply
void apply(Outlineable outlineable)
Removes the thickness of this outline from the given object.- Parameters:
outlineable- the object to unwrap.
-
apply
void apply(ej.microui.display.GraphicsContext g, Size size)Applies the outline on a graphics context.- Parameters:
g- the graphics context.size- the size to apply on.
-
equals
boolean equals(@Nullable java.lang.Object obj)- Overrides:
equalsin classjava.lang.Object
-
hashCode
int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-