TextLayer.fontSize

The font size.

TextLayer.fontSize property

The font size.

Signature:

fontSize: number;

Remarks

Unit matches Lottie's text rendering coordinate system (typically pixels at 1x scale).

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