LayerMixin.align
Aligns this layer within its parent
LayerMixin.align() method
Aligns this layer within its parent
Signature:
align(type: AlignDirection): void;Parameters
Parameter | Type | Description |
|---|---|---|
type | The alignment direction |
Returns:
void
Example
// Align layer to the left of its parent
layer.align("left");Last updated: August 5, 2026 at 11:47 AMEdit this page