Displays some text on the graphics device
TEXT/DRAW | xcoord=Real ycoord=Real text=String [colour=Colour] [size=Real] [angle=Real] [font=Font] | Draws some text onto a graphics device |
TEXT/ALTER | [xcoord=Real] [ycoord=Real] [text=String] [colour=Colour] [size=Real] [angle=Real] [font=Font] object=Gobject | Alters some text, on a graphics device. |
example:
>> text/draw 0.0 0.0 "some text" size=3.0 # The text is a bit to big >> text/alter size=1.0 colour=$yellow object=obj(0,0,0)
Draws some text onto a graphics device.
Xcoord (Real)
X co-ordinate of the position of the text.
Ycoord (Real)
Y co-ordinate of the position of the text.
Text (String)
Text to be put onto a graphics device.
Colour (Colour)
Sets the colour of the text.
Size (Real)
Sets the size of the text.
Angle (Real)
Sets the angle for the text to be written.
Font (Font)
Sets the font of the text. Such as, $normal, $roman, $italic, $script
RESULT = (Text)
Returns all of the properties of the newly created text.
Alters some text already on a graphics device.
Xcoord (Real)
X co-ordinate of the position of the text.
Ycoord (Real)
Y co-ordinate of the position of the text.
Text (String)
Text to be put onto a graphics device.
Colour (Colour)
Sets the colour of the text.
Size (Real)
Sets the size of the text.
Angle (Real)
Sets the angle for the text to be written.
Font (Font)
Sets the font of the text. Such as, $normal, $roman, $italic, $script
Object (Gobject)
Shows which text is to be altered, in any one window.
RESULT = (Text)
Returns all of the properties of the altered text.