Stores the current measurements for a display object.

Available since

1.0.0

.

Constructor

@:value({ target : null })new (?target:DisplayObject)

Variables

@:value(null)height:Null<Float> = null

The object's height value, or null, if height is not available.

Available since

1.0.0

.

@:value(null)maxHeight:Null<Float> = null

The object's maximum height value, or null, if a maximum height is not available.

Available since

1.0.0

.

@:value(null)maxWidth:Null<Float> = null

The object's maximum width value, or null, if a maximum width is not available.

Available since

1.0.0

.

@:value(null)minHeight:Null<Float> = null

The object's minimum height value, or null, if a minimum height is not available.

Available since

1.0.0

.

@:value(null)minWidth:Null<Float> = null

The object's minimum width value, or null, if a minimum width is not available.

Available since

1.0.0

.

@:value(null)width:Null<Float> = null

The object's width value, or null, if width is not available.

Available since

1.0.0

.

Methods

resetTargetFluidlyForParent (target:DisplayObject, parent:IMeasureObject):Void

With the saved measurements, and a parent's measurements, resets the dimensions of the target display object.

Available since

1.0.0

.

restore (target:DisplayObject):Void

Restores the saved measurements to the target.

Available since

1.0.0

.

@:value({ target : null })save (?target:DisplayObject):Void

Saves the saved measurements from a new target. If the new target is null, sets all measurements back to null.

Available since

1.0.0

.