anchor_gravity


Description:

[ NoAccessorMethod ]
[ Version ( deprecated = true , deprecated_since = "1.12" , since = "1.0" ) ]
public Gravity anchor_gravity { get; set; }

Warning: anchor_gravity is deprecated since 1.12.

The anchor point expressed as a Gravity

Note:

Use pivot_point instead

It is highly recommended not to use anchor_x, anchor_y, and anchor_gravity in newly written code; the anchor point adds an additional translation that will affect the actor's relative position with regards to its parent, as well as the position of its children. This change needs to always be taken into account when positioning the actor. It is recommended to use the pivot_point property instead, as it will affect only the transformations.