TEXT Items

GQE items are accessed via the methods set() and get(). They are available after an object has been constructed. The following table displays the available TEXT items.

bg_colour
The background colour, see 7.4.3.

colour
The colour: black, red, green, blue, ..., see 7.4.3.

font
See table 7.3, default: 3.

frame
NDC (0): normalized device coordinates, WORLD(1)

height
The font height, default: 17

h_align
The horizontal alignment: normal, left, center, right.

string
The text string.

ux, uy
The up-vector.

v_align
The vertical alignment: normal, top, cap, half, base, bottom.

x, y
The position.


Table 7.3: The Fonts
 
TimesRoman (1)
TimesItalic (2)
TimesBold (3)
TimesBoldItalic (4)
Helvetica (5)
HelveticaOblique (6)
HelveticaBold (7)
HelveticaBoldOblique (8)
Courier (9)
CourierOblique (10)
CourierBold (11)
CourierBoldOblique (12)
NewCenturySchoolbook (13)
NewCenturySchoolbookItalic (14)
NewCenturySchoolbookBold (15)
NewCenturySchoolbookBoldItalic (16)
Symbol