Class: CssMatrixTransform
A CSS matrix
transform.
Hierarchy
AbstractCssTransform
↳
CssMatrixTransform
Constructors
constructor
• new CssMatrixTransform(): CssMatrixTransform
Creates a new instance of a CSS matrix
transform, initialized to the identity transformation.
Returns
Overrides
AbstractCssTransform.constructor
Defined in
src/sdk/graphics/css/CssTransform.ts:63
Properties
cachedParams
• Protected
Readonly
cachedParams: Float64Array
Inherited from
AbstractCssTransform.cachedParams
Defined in
src/sdk/graphics/css/CssTransform.ts:22
params
• Protected
Readonly
params: Float64Array
Inherited from
AbstractCssTransform.params
Defined in
src/sdk/graphics/css/CssTransform.ts:21
stringValue
• Protected
Optional
stringValue: string
Inherited from
AbstractCssTransform.stringValue
Defined in
src/sdk/graphics/css/CssTransform.ts:24
Methods
buildString
▸ buildString(params
): string
Parameters
Name | Type |
---|---|
params | Readonly <Omit <Float64Array , "set" | "sort" | "copyWithin" >> |
Returns
string
Inherit Doc
Overrides
AbstractCssTransform.buildString
Defined in
src/sdk/graphics/css/CssTransform.ts:100
resolve
▸ resolve(): string
Returns
string
Inherit Doc
Inherited from
AbstractCssTransform.resolve
Defined in
src/sdk/graphics/css/CssTransform.ts:36
set
▸ set(scaleX
, skewY
, skewX
, scaleY
, translateX
, translateY
): void
Sets the parameters of this transform.
Parameters
Name | Type | Description |
---|---|---|
scaleX | number | The x scaling value to set. |
skewY | number | The y skew value to set. |
skewX | number | The x skew value to set. |
scaleY | number | The y scaling value to set. |
translateX | number | The x translation value to set. |
translateY | number | The y translation value to set. |
Returns
void
Defined in
src/sdk/graphics/css/CssTransform.ts:76
▸ set(transform
): void
Sets the parameters of this transform.
Parameters
Name | Type | Description |
---|---|---|
transform | Transform2D | A transform object containing the parameters to set. |
Returns
void
Defined in
src/sdk/graphics/css/CssTransform.ts:81