TextLayer.fontStyle

The font style used by this text layer (e.g. Regular, Bold, Italic).

TextLayer.fontStyle property

The font style used by this text layer. Must be a style that exists on the current fontFamily.

Signature:

fontStyle: string;

Example

textLayer.fontStyle = "Bold";
Last updated: August 5, 2026 at 11:47 AMEdit this page