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 13, 2026 at 9:17 AMEdit this page