$transform
Multiplies the current transformation with the matrix described by the arguments of this method.
Usage
$transform[canvas;a;b;c;d;e;f]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| canvas | String | Name of the canvas to transform. | True |
| a | Number | The cell in the first row and first column of the matrix. | True |
| b | Number | The cell in the second row and first column of the matrix. | True |
| c | Number | The cell in the first row and second column of the matrix. | True |
| d | Number | The cell in the second row and second column of the matrix. | True |
| e | Number | The cell in the first row and third column of the matrix. | True |
| f | Number | The cell in the second row and third column of the matrix. | True |
Example(s)
No examples for this function.

Raw Info
{ "name": "$transform", "description": "Multiplies the current transformation with the matrix described by the arguments of this method.", "params": [ { "name": "canvas", "description": "Name of the canvas to transform.", "type": "String", "required": true }, { "name": "a", "description": "The cell in the first row and first column of the matrix.", "type": "Number", "required": true }, { "name": "b", "description": "The cell in the second row and first column of the matrix.", "type": "Number", "required": true }, { "name": "c", "description": "The cell in the first row and second column of the matrix.", "type": "Number", "required": true }, { "name": "d", "description": "The cell in the second row and second column of the matrix.", "type": "Number", "required": true }, { "name": "e", "description": "The cell in the first row and third column of the matrix.", "type": "Number", "required": true }, { "name": "f", "description": "The cell in the second row and third column of the matrix.", "type": "Number", "required": true } ], "usage": "$transform[canvas;a;b;c;d;e;f]", "category": "canvas", "src": "https://github.com/devlordduck/aoi.canvas/tree/v2/src/functions/canvas/transform.ts", "docs": "https://aoicanvas.vercel.app/functions/transform"}