set_scale_full


Description:

[ Version ( deprecated = true , deprecated_since = "1.12" , since = "1.0" ) ]
public void set_scale_full (double scale_x, double scale_y, float center_x, float center_y)

Warning: set_scale_full is deprecated since 1.12.

Scales an actor with the given factors around the given center point.

Note:

Use set_pivot_point to control the scale center

The center point is specified in pixels relative to the anchor point (usually the top left corner of the actor).

The scale_x and scale_y properties are animatable.

Parameters:

this

A Actor

scale_x

double factor to scale actor by horizontally.

scale_y

double factor to scale actor by vertically.

center_x

X coordinate of the center of the scaling

center_y

Y coordinate of the center of the scaling