Size

A style data of size.

Members

Functions

calc
void calc(vec2 parentSize, vec2 def)

Calculates size using parentSize and defaultSize.

Manifest constants

Auto
enum Auto;

A size data that is specified as Auto.

None
enum None;

A size data that is specified as None.

Mixins

__anonymous
mixin AttributesUtilities
Undocumented in source.

Properties

vector
vector [@property getter]

Converts to vec2. An exception will be thrown if width or height have not been calculated.

Variables

height
Scalar height;

A scalar of height.

width
Scalar width;

A scalar of width.

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