Documentation Set for Swarm 2.0.1
Prev
Reference VIII. Gui Library
Next
TextItem
Name
TextItem -- A CanvasItem that displays text.
Description
A CanvasItem that displays text.
Protocols adopted by TextItem
CanvasItem
CREATABLE
Methods
Phase: Creating
+
createBegin:
(id <Zone>)
aZone
-
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.
Prev
Home
Next
SuperButton
Up
VarProbeEntry