Skip to content

$resetTransform

Resets the current transform to the identity matrix.

Usage

$resetTransform[canvas]

Parameters

FieldTypeDescriptionRequired
canvasStringName of the canvas.True

Example(s)

No examples for this function.

meow

Raw Info

{
"name": "$resetTransform",
"description": "Resets the current transform to the identity matrix.",
"params": [
{
"name": "canvas",
"description": "Name of the canvas.",
"type": "String",
"required": true
}
],
"usage": "$resetTransform[canvas]",
"category": "canvas",
"src": "https://github.com/devlordduck/aoi.canvas/tree/v2/src/functions/canvas/resetTransform.ts",
"docs": "https://aoicanvas.vercel.app/functions/resettransform"
}