scale


Description:

[ DestroysInstance ]
public Transform? scale (float factor_x, float factor_y)

Scales this in 2-dimensional space by the given factors.

Use [method@Gsk.Transform.scale_3d] to scale in all 3 dimensions.

Parameters:

this

the next transform

factor_x

scaling factor on the X axis

factor_y

scaling factor on the Y axis

Returns:

The new transform