TextLayer.fill
The solid fill paint applied to this text layer, if any.
TextLayer.fill property
The solid fill paint applied to this text layer, or undefined if the layer has no fill.
Signature:
readonly fill: SolidPaint | undefined;Type: SolidPaint | undefined
Remarks
Text layers support a single solid fill. Gradient fills are not supported on text. Use createFill() to add or replace the fill.
Last updated: August 5, 2026 at 11:47 AMEdit this page