scale

fun scale(factorX: Float, factorY: Float): Transform?

Scales @next in 2-dimensional space by the given factors.

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

Return

The new transform

Parameters

factorX

scaling factor on the X axis

factorY

scaling factor on the Y axis