get_scale_center


Description:

[ Version ( deprecated = true , deprecated_since = "1.12" , since = "1.0" ) ]
public void get_scale_center (out float center_x, out float center_y)

Warning: get_scale_center is deprecated since 1.12.

Retrieves the scale center coordinate in pixels relative to the top left corner of the actor.

Note:

Use get_pivot_point instead.

If the scale center was specified using a Gravity this will calculate the pixel offset using the current size of the actor.

Parameters:

this

A Actor

center_x

Location to store the X position of the scale center, or null.

center_y

Location to store the Y position of the scale center, or null.