public class OutlineHelper extends Object
| Constructor and Description |
|---|
OutlineHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
applyOutlines(Outlineable outlineable,
Style style)
Applies all the outlines of the given style on the given object.
|
static void |
applyOutlinesAndBackground(ej.microui.display.GraphicsContext g,
Size size,
Style style)
Applies the different outlines and the background on the given graphics context and the given size.
|
public static void applyOutlines(Outlineable outlineable, Style style)
The given object must include the outlines of the widget. It is modified to the content bounds/size of the widget.
outlineable - the outlineable.style - the style to apply.Outline.apply(Outlineable)public static void applyOutlinesAndBackground(ej.microui.display.GraphicsContext g,
Size size,
Style style)
The given size must include the outlines of the widget. It is modified to the content size of the widget.
The application order is: margin, background, border, padding.
g - the graphics context to modify.size - the size.style - the style to apply.Outline.apply(GraphicsContext, Size),
Background.apply(GraphicsContext, int, int)