Skip to content
ben-sangster edited this page Jan 6, 2011 · 2 revisions

Description

JS binding for TextItem. Inherits from GraphicsItem.

Signals

N/A

Functions

void adjustSize ()

Object { r, b, g } textColor ([Object { r: [0-1], b: [0-1], g: [0-1] } color])

String plainText ([String text])

String htmlText ([String text])

Number width ([Number width])

Number textInteractionFlags ([TextInteractionFlag flag])

  • The returned number is a bitmask of all of the activated flags.

Clone this wiki locally