View source
class MeasureSprite
package feathers.core
extends ValidatingSprite
implements IMeasureObject
extended by FeathersControl, ProgrammaticSkin
An openfl.display.Sprite
with extra minimum and maximum dimensions that may be used in Feathers UI
layouts.
Available since
1.0.0
.Constructor
Variables
Methods
privatesaveMeasurements(width:Float, height:Float, minWidth:Float = 0.0, minHeight:Float = 0.0, ?maxWidth:Float, ?maxHeight:Float):Bool
Saves the calculated dimensions for the component, replacing any values
that haven't been set explicitly. Returns true
if the reported values
have changed and Event.RESIZE
was dispatched.
Available since
1.0.0
.