Q textfill Class
Adjusts the font size of the context text until it fills the element's width and height
Constructor
Q textfill
(
-
[options]
Parameters:
-
[options]
Object optionaloptions object that contains function parameters
-
[maxFontPixels]
Number optionalMaximum size of text font, set this if your text container is large and you don't want to have extra large text on page
-
[maxLines=null]
Number optionalMaximum number of lines, set this if you'd like to have a maximum number of lines.
-
[refreshOnLayout=true]
Boolean optionalWhether to refresh the textfill on any layout change that affects its container
-
[fillPadding=false]
Boolean optionalWhether to have the text extend into the padding as well
-