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(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.
|
void apply(GraphicsContext g, Size size)
g
- the graphics context.size
- the size to apply on.void apply(Outlineable outlineable)
outlineable
- the object to unwrap.