TextLayerCreateOptions
Options for creating a text layer.
TextLayerCreateOptions interface
Options for creating a text layer.
Signature:
interface TextLayerCreateOptions extends LayerCreateOptionsExtends: LayerCreateOptions
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
string | undefined | (Optional) The text content for the text layer | ||
fontFamily? | string | undefined | (Optional) Initial font family. | |
fontStyle? | string | undefined | (Optional) Initial font style. | |
fontSize? | number | undefined | (Optional) Initial font size. | |
alignment? | TextAlignment | undefined | (Optional) Initial alignment. | |
fill? | SolidPaintOptions | undefined | (Optional) Initial solid fill. | |
stroke? | TextStrokeOptions | undefined | (Optional) Initial stroke. |
Last updated: August 5, 2026 at 11:47 AMEdit this page