ColorBorder

Undocumented in source.

Members

Functions

apply
void apply(FluidBackend io, Rectangle borderBox, uint[4] size)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

color
Color[4] color;
Undocumented in source.

Inherited Members

From FluidBorder

apply
void apply(FluidBackend backend, Rectangle borderBox, uint[4] size)

Apply the border, drawing it in the given box.

sideRect
Rectangle sideRect(Rectangle source, uint[4] size, Style.Side side)

Get the rectangle for the given side of the border.

cornerRect
Rectangle cornerRect(Rectangle source, uint[4] size, Style.Side side)

Get square for corner next counter-clockwise to the given side. Note: returned rectangles may have negative size; rect start position will always point to the corner itself.

Meta