Specifies how to position an object added to a container using AnchorLayout.

Available since

1.0.0

.

See also:

Constructor

new(value:Float, ?relativeTo:DisplayObject)

Creates a new Anchor object with the given arguments.

Available since

1.0.0

.

Variables

relativeTo:Null<DisplayObject>

The target may be optionally positioned relative to another display object, instead of the edges of the parent container.

Available since

1.0.0

.

value:Float

The number of pixels away from the edge of the parent container (or from the relativeTo display object) to position the target.

Available since

1.0.0

.