TextStroke
A solid stroke applied to a TextLayer.
TextStroke interface
A solid stroke applied to a TextLayer. Unlike strokes on shapes, text strokes only support solid color fills (no gradients).
Signature:
interface TextStrokeProperties
Property | Modifiers | Type | Description |
|---|---|---|---|
fill |
| The solid paint used for the stroke. | |
width |
| Animatable<number> | The stroke width. |
Methods
Method | Description |
|---|---|
remove() | Removes this stroke from its text layer. |
Last updated: August 5, 2026 at 11:47 AMEdit this page