tlc.core.builtins.constants.units#

Defines some common keywords which can be used to define the ‘unit’ of numeric values within Schemas.

Note that ‘role’ is the attribute which indicate what a property is used for.

Module Contents#

Data#

Data

Description

UNIT_ABSOLUTE

Number is stored as an absolute value (e.g. a pixel coordinate)

UNIT_RELATIVE

Number is stored as fraction of a reference value

API#

tlc.core.builtins.constants.units.UNIT_ABSOLUTE = absolute#

Number is stored as an absolute value (e.g. a pixel coordinate)

tlc.core.builtins.constants.units.UNIT_RELATIVE = relative#

Number is stored as fraction of a reference value