scale

inline fun scale(sx: Float = 1.0f, sy: Float = 1.0f, pivot: Point = Point(0f, 0f))

Postconcats the current transform with the specified scale.

M' = S(sx, sy, pivotX, pivotY) * M

Parameters

sx

The horizontal scale

sy

The vertical scale

pivot

The point around which scale will be applied