AnchorPosition

The point around which to transform the object.

Values

Name

Description

Value

AnchorPosition.BOTTOMCENTER

The middle point of the bottom of the object.

8

AnchorPosition.BOTTOMLEFT

The bottom left corner of the object.

7

AnchorPosition.BOTTOMRIGHT

The bottom right corner of the object.

9

AnchorPosition.MIDDLECENTER

The center of the object.

5

AnchorPosition.MIDDLELEFT

The middle point on the left side of the object.

4

AnchorPosition.MIDDLERIGHT

The middle point on the right side of the object.

6

AnchorPosition.TOPCENTER

The middle point on the top of the object.

2

AnchorPosition.TOPLEFT

The top left corner of the object.

1

AnchorPosition.TOPRIGHT

The top right corner of the object.

3