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