public void set_scale_with_gravity (double scale_x, double scale_y, Gravity gravity)
Warning: set_scale_with_gravity is deprecated since 1.12.
Scales an actor with the given factors around the given center point.
Use set_pivot_point to set the scale center using normalized coordinates instead.
The center point is specified as one of the compass directions in Gravity. For example, setting it to north will cause the top of the actor to remain unchanged and the rest of the actor to expand left, right and downwards.
double factor to scale actor by horizontally.
double factor to scale actor by vertically.
the location of the scale center expressed as a compass direction.