Class: CssTransformChain<T>
Defined in: src/sdk/graphics/css/CssTransform.ts:496
A concatenated chain of CSS transforms.
Type Parameters
Type Parameter |
---|
T extends CssTransform [] |
Implements
Constructors
Constructor
new CssTransformChain<
T
>(...transforms
):CssTransformChain
<T
>
Defined in: src/sdk/graphics/css/CssTransform.ts:510
Creates a new chain of CSS transforms.
Parameters
Parameter | Type | Description |
---|---|---|
...transforms | T | The individual child transforms that will constitute the new transform chain. The order of the children passed to the constructor determines the order of concatenation. Concatenation follows the standard CSS transform convention: for a concatenation of transforms [A, B, C] , the resulting transformation is equivalent to the one produced by multiplying the transformation matrices in the order (A * B) * C . |
Returns
CssTransformChain
<T
>
Methods
getChild()
getChild<
Index
>(index
):Omit
<NonNullable
<T
[Index
]>,"resolve"
>
Defined in: src/sdk/graphics/css/CssTransform.ts:520
Gets one of this chain's child transforms.
Type Parameters
Type Parameter |
---|
Index extends number |
Parameters
Parameter | Type | Description |
---|---|---|
index | Index | The index of the child to get. |
Returns
Omit
<NonNullable
<T
[Index
]>, "resolve"
>
The child transform at the specified index in this chain.
Throws
RangeError if index
is out of bounds.
resolve()
resolve():
string
Defined in: src/sdk/graphics/css/CssTransform.ts:529
Resolves this transform to a CSS transform string.
Returns
string
A CSS transform string representative of this transform.