ColorBorder

Undocumented in source.

Members

Functions

apply
void apply(FluidBackend io, Rectangle borderBox, float[4] size)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(Object object)
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, float[4] size)

Apply the border, drawing it in the given box.

opEquals
bool opEquals(Object object)

Borders have to be comparable in a memory-safe manner.

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

Get the rectangle for the given side of the border.

cornerRect
Rectangle cornerRect(Rectangle source, float[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