User guide

258
Control (UI) Default Value Function
fontFile none Lets you select a font for the text when fontSource is set to
File.
size 18.0, size[0] Sets the pixel size of the font.
Note that because of the way fonts are generated from control
splines that vary in size, you rarely get a character that is exactly
this size.
No character ever renders larger than this size.
position getDisplayWindow
().width/2,
getDisplayWindow
().height/2
The pixel position at which the justified text is placed.
For example, if you set hjustify to Left and vjustify to Top,
the left side of the baseline of the first line of text is placed at
this location.
If you set hjustify to Center and vjustify to Bottom, the
baseline of the last line of text is centered on this position
horizontally.
hjustify Center Sets how to align the text horizontally:
Left - align the text along the left edge of the text frame,
placing the left side of the text block at the location defined by
position. This leaves the right edge of the text ragged.
Center - align the text from the center of the text frame,
placing the center of the text block at the location defined by
position. This leaves both edges of the text ragged.
Right - align the text along the right edge of the text frame,
placing the right side of the text block at the location defined
by position. This leaves the left edge of the text ragged.
4 NODES I-K | IMAGETEXT