Skip to content

TextLayer.setMinimumFontSize

hernan edited this page Jan 1, 2018 · 1 revision

this methods allows for text layers with a defined text box to set a minimum font size if TextLayer.canResizeFont is set to true

Usage:

anim.renderer.elements[0].setMinimumFontSize(14);

It accepts one argument:

  • fontSize: number
Clone this wiki locally