Scalar

A scalar data that converts relative values to pixel.

Members

Functions

alter
void alter(float v, bool force)

Alters the scalar. Altering the explicitly specified scalar is not preferred.

calc
float calc(ScalarUnitBase base)

Calculates the scalar using unit base.

Manifest constants

Auto
enum Auto;

A scalar that is specified as Auto.

None
enum None;

A scalar that is specified as None.

Properties

calced
calced [@property getter]

Calculated value.

isAbsolute
isAbsolute [@property getter]
isAuto
isAuto [@property getter]
isCalced
isCalced [@property getter]
isNone
isNone [@property getter]
isRelative
isRelative [@property getter]
isSpecified
isSpecified [@property getter]

Variables

_calculated
float _calculated;
Undocumented in source.
_unit
ScalarUnit _unit;
Undocumented in source.
_value
float _value;
Undocumented in source.

Meta