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
onMeasurecall
- the measured height of the entity after a
-
Returns:
Type Description number - the measured width of the entity after a
onMeasurecall
- the measured width of the entity after a
-
Measures its width & height based on the passed constraints.
Name Type Description maxWidthnumber maxHeightnumber widthModePUXI.MeasureMode heightModePUXI.MeasureMode