Skip to content

TextLayer.canResizeFont

hernan edited this page Jan 1, 2018 · 1 revision

this methods allows for text layers with a defined text box to auto resize it's font size in order to fit all text in text-box range

Usage:

anim.renderer.elements[0].canResizeFont(true);

It accepts one argument:

  • canResizeFont: boolean
Clone this wiki locally