public class OutlineHelper extends Object
|Modifier and Type||Method and Description|
Applies all the outlines of the given style on the given object.
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.
public static void applyOutlinesAndBackground(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.