Transform.scale

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

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

class Transform
scale
(
float factorX
,
float factorY
)

Parameters

factorX float

scaling factor on the X axis

factorY float

scaling factor on the Y axis

Return Value

Type: Transform

The new transform

Meta