Any renderable entity that can be used in a widget hierarchy must be measurable.
Methods
-
Returns:
Type Description number - the measured height of the entity after a
onMeasure
call
- the measured height of the entity after a
-
Returns:
Type Description number - the measured width of the entity after a
onMeasure
call
- the measured width of the entity after a
-
Measures its width & height based on the passed constraints.
Name Type Description maxWidth
number maxHeight
number widthMode
PUXI.MeasureMode heightMode
PUXI.MeasureMode