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 25, 2026 at 6:23 AMEdit this page