public interface Outline
The outlines implement the CSS box model. An outline is a box that wraps another box. An element is wrapped in a
sequence of outlines: the padding, the border then the margin:
Style.getBorder()
,
Style.getPadding()
,
Style.getMargin()
Modifier and Type | Method and Description |
---|---|
void |
apply(ej.microui.display.GraphicsContext g,
Rectangle rectangle)
Applies the outline on a graphics context.
|
void |
unwrap(Rectangle rectangle)
Removes the outline thickness from a rectangle.
|
void |
wrap(Rectangle rectangle)
Adds the outline thickness to a rectangle.
|
void wrap(Rectangle rectangle)
rectangle
- the rectangle to wrap.void unwrap(Rectangle rectangle)
rectangle
- the rectangle to unwrap.void apply(ej.microui.display.GraphicsContext g, Rectangle rectangle)
g
- the graphics context.rectangle
- the rectangle to unwrap.