Skip to main content

Class: CssScale3dTransform

Defined in: src/sdk/graphics/css/CssTransform.ts:459

A CSS scale3d transform.

Extends

  • AbstractCssTransform

Constructors

Constructor

new CssScale3dTransform(): CssScale3dTransform

Defined in: src/sdk/graphics/css/CssTransform.ts:465

Creates a new instance of a CSS scale3d transform, initialized to the identity scaling.

Returns

CssScale3dTransform

Overrides

AbstractCssTransform.constructor

Properties

cachedParams

protected readonly cachedParams: Float64Array

Defined in: src/sdk/graphics/css/CssTransform.ts:22

Inherited from

AbstractCssTransform.cachedParams


params

protected readonly params: Float64Array

Defined in: src/sdk/graphics/css/CssTransform.ts:21

Inherited from

AbstractCssTransform.params


stringValue?

protected optional stringValue: string

Defined in: src/sdk/graphics/css/CssTransform.ts:24

Inherited from

AbstractCssTransform.stringValue

Methods

buildString()

protected buildString(params): string

Defined in: src/sdk/graphics/css/CssTransform.ts:488

Parameters

ParameterType
paramsReadonlyFloat64Array

Returns

string

Inherit Doc

Overrides

AbstractCssTransform.buildString


resolve()

resolve(): string

Defined in: src/sdk/graphics/css/CssTransform.ts:36

Returns

string

Inherit Doc

Inherited from

AbstractCssTransform.resolve


set()

set(x, y, z, precisionX, precisionY, precisionZ): void

Defined in: src/sdk/graphics/css/CssTransform.ts:481

Sets this transform's scaling.

Parameters

ParameterTypeDefault valueDescription
xnumberundefinedThe x scaling to set.
ynumberundefinedThe y scaling to set.
znumberundefinedThe z scaling to set.
precisionXnumber0The precision with which to set the x scaling. A value of 0 denotes infinite precision. Defaults to 0.
precisionYnumberprecisionXThe precision with which to set the y scaling. A value of 0 denotes infinite precision. Defaults to the x scaling precision value.
precisionZnumberprecisionXThe precision with which to set the z scaling. A value of 0 denotes infinite precision. Defaults to the x scaling precision value.

Returns

void