BoxStyle

A style data of box.

Members

Functions

calc
void calc(vec2 parentSize, vec2 def)

Calculates all styles.

Mixins

__anonymous
mixin AttributesUtilities
Undocumented in source.

Properties

borderInsideAdditionalSize
borderInsideAdditionalSize [@property getter]

Size of margins + border.

borderInsideLeftTop
borderInsideLeftTop [@property getter]

Left top position of inside of the border.

borderInsideSize
borderInsideSize [@property getter]

Size of clientArea + paddings.

borderOutsideAdditionalSize
borderOutsideAdditionalSize [@property getter]

Size of margins.

borderOutsideLeftTop
borderOutsideLeftTop [@property getter]

Left top position of outside of border.

borderOutsideSize
borderOutsideSize [@property getter]

Size of border + paddings + clienatArea.

clientAdditionalSize
clientAdditionalSize [@property getter]

Size of margins + border + paddings.

clientLeftTop
clientLeftTop [@property getter]

Left top position of the client area.

clientSize
clientSize [@property getter]
collisionSize
collisionSize [@property getter]

Size of margins + border + paddings + clientArea.

Variables

borderWidth
Rect borderWidth;

Width of the border.

margins
Rect margins;

Width of the margins.

paddings
Rect paddings;

Width of the paddings.

size
Size size;

Size of the client.

Mixed In Members

From mixin AttributesUtilities

isAuto
isAuto [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isRelative
bool isRelative [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isAbsolute
isAbsolute [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isCalced
isCalced [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta