TextStrokeOptions

Options for creating or updating a stroke on a TextLayer, or for the initial stroke on stroke.

TextStrokeOptions interface

Options for creating or updating a stroke on a TextLayer, or for the initial stroke on TextLayerCreateOptions.stroke.

Signature:

interface TextStrokeOptions

Properties

Property

Modifiers

Type

Description

fill

SolidPaintOptions

The solid fill paint options for the stroke.

width

number

The width of the stroke.

Last updated: November 10, 2026 at 8:00 PMEdit this page