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 |
|---|---|---|---|
TextAlignment | undefined | (Optional) Text alignment. Defaults to | ||
SolidPaintOptions | undefined | (Optional) Initial fill paint. Must be | ||
string | undefined | (Optional) The font family name, e.g. "Roboto". | ||
number | undefined | (Optional) Font size. Defaults to Creator's current default font size. | ||
string | undefined | (Optional) The font style, e.g. "Regular", "Bold". | ||
TextStrokeOptions | undefined | (Optional) Initial stroke. Omit for no stroke. Text strokes are solid only — gradient strokes are not supported. | ||
string | undefined | (Optional) The text content for the text layer. |