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

read onlyexplicitHeight:Null<Float>

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

Available since

1.0.0

.

See also:

read 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:

read 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:

read 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:

read 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:

read onlyexplicitWidth:Null<Float>

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

Available since

1.0.0

.

See also:

maxHeight:Float

The object's maximum height value.

Available since

1.0.0

.

See also:

maxWidth:Float

The object's maximum width value.

Available since

1.0.0

.

See also:

minHeight:Float

The object's minimum height value.

Available since

1.0.0

.

See also:

minWidth: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: