Skip to content

Transform ​

js
ctx.transform.setPosition(x, y)
ctx.transform.setRotation(radians)
ctx.transform.setText(text)

Use Transform APIs to modify the current object. Rotation is in radians.