TextLayer.stroke
The stroke applied to this text layer, if any.
TextLayer.stroke property
The stroke applied to this text layer, or undefined if there is no stroke.
Signature:
readonly stroke: TextStroke | undefined;Type: TextStroke | undefined
Remarks
Text layers support a single solid stroke. Use createStroke() to add or replace it.
Last updated: August 5, 2026 at 11:47 AMEdit this page