A display object with extra measurement properties, including minimum and maximum dimensions.

Events:

openfl.events.Event.RESIZE

Dispatched when either the width or the height of the component has changed.

Available since

1.0.0

.

Variables

@:flash.propertyread onlyexplicitHeight:Null<Float>

The object's explicit height value, or null if height is not set explicitly.

Available since

1.0.0

.

See also:

@:flash.propertyread onlyexplicitMaxHeight:Null<Float>

The object's explicit maximum height value, or null if maxHeight is not set explicitly.

Available since

1.0.0

.

See also:

@:flash.propertyread onlyexplicitMaxWidth:Null<Float>

The object's explicit maximum width value, or null if maxWidth is not set explicitly.

Available since

1.0.0

.

See also:

@:flash.propertyread onlyexplicitMinHeight:Null<Float>

The object's explicit minimum height value, or null if minHeight is not set explicitly.

Available since

1.0.0

.

See also:

@:flash.propertyread onlyexplicitMinWidth:Null<Float>

The object's explicit minimum width value, or null if minWidth is not set explicitly.

Available since

1.0.0

.

See also:

@:flash.propertyread onlyexplicitWidth:Null<Float>

The object's explicit width value, or null if width is not set explicitly.

Available since

1.0.0

.

See also:

@:flash.propertymaxHeight:Float

The object's maximum height value.

Available since

1.0.0

.

See also:

@:flash.propertymaxWidth:Float

The object's maximum width value.

Available since

1.0.0

.

See also:

@:flash.propertyminHeight:Float

The object's minimum height value.

Available since

1.0.0

.

See also:

@:flash.propertyminWidth:Float

The object's minimum width value.

Available since

1.0.0

.

See also:

Methods

resetHeight():Void

Resets the height so that it will be calculated automatically by the component.

Available since

1.0.0

.

See also:

resetMaxHeight():Void

Resets the maximum height so that it will be calculated automatically by the component.

Available since

1.0.0

.

See also:

resetMaxWidth():Void

Resets the minimum width so that it will be calculated automatically by the component.

Available since

1.0.0

.

See also:

resetMinHeight():Void

Resets the minimum height so that it will be calculated automatically by the component.

Available since

1.0.0

.

See also:

resetMinWidth():Void

Resets the minimum width so that it will be calculated automatically by the component.

Available since

1.0.0

.

See also:

resetWidth():Void

Resets the width so that it will be calculated automatically by the component.

Available since

1.0.0

.

See also: