Class: CssScale3dTransform
A CSS scale3d
transform.
Hierarchy
AbstractCssTransform
↳
CssScale3dTransform
Constructors
constructor
• new CssScale3dTransform(): CssScale3dTransform
Creates a new instance of a CSS scale3d
transform, initialized to the identity scaling.
Returns
Overrides
AbstractCssTransform.constructor
Defined in
src/sdk/graphics/css/CssTransform.ts:465
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:488
resolve
▸ resolve(): string
Returns
string
Inherit Doc
Inherited from
AbstractCssTransform.resolve
Defined in
src/sdk/graphics/css/CssTransform.ts:36
set
▸ set(x
, y
, z
, precisionX?
, precisionY?
, precisionZ?
): void
Sets this transform's scaling.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
x | number | undefined | The x scaling to set. |
y | number | undefined | The y scaling to set. |
z | number | undefined | The z scaling to set. |
precisionX | number | 0 | The precision with which to set the x scaling. A value of 0 denotes infinite precision. Defaults to 0 . |
precisionY | number | precisionX | The precision with which to set the y scaling. A value of 0 denotes infinite precision. Defaults to the x scaling precision value. |
precisionZ | number | precisionX | The precision with which to set the z scaling. A value of 0 denotes infinite precision. Defaults to the x scaling precision value. |
Returns
void
Defined in
src/sdk/graphics/css/CssTransform.ts:481