TextItem
Name
TextItem -- A CanvasItem that displays text.
Description
A CanvasItem that displays text.
Methods
Phase: Creating
-
setCenterFlag: (BOOL)
centerFlag Determine whether text is centered or not.
-
setFont: (const char *)
font Set the font with which to display the text.
-
setText: (const char *)
text Set the text to display.
-
setX: (int)
x Y: (int)
y Set the coordinate for the center of the text.