Class: Matrix
Hierarchy​
Matrix
↳
Skew
Implements​
ITransform
Constructors​
constructor​
• new Matrix(_
, matrix
, transformOrigin
)
Parameters​
Name | Type |
---|---|
_ | Document |
matrix | string |
transformOrigin | readonly [Property <string >, Property <string >] |
Defined in​
Properties​
type​
• type: string
= 'matrix'
Implementation of​
ITransform.type
Defined in​
matrix​
• Protected
matrix: MatrixValue
Defined in​
originX​
• Private
Readonly
originX: Property
<unknown
>
Defined in​
originY​
• Private
Readonly
originY: Property
<unknown
>
Defined in​
Methods​
apply​
â–¸ apply(ctx
): void
Parameters​
Name | Type |
---|---|
ctx | RenderingContext2D |
Returns​
void
Implementation of​
ITransform.apply
Defined in​
unapply​
â–¸ unapply(ctx
): void
Parameters​
Name | Type |
---|---|
ctx | RenderingContext2D |
Returns​
void
Implementation of​
ITransform.unapply
Defined in​
applyToPoint​
â–¸ applyToPoint(point
): void
Parameters​
Name | Type |
---|---|
point | Point |
Returns​
void
Implementation of​
ITransform.applyToPoint