Class: l2dtext
allows text to be rendered on screen
Hierarchy
o-+ l2dnode
o-+ l2dtext
Interfaces:
Methods:
Method overview:
- new (string name,string text,[fontset])
- returns: (l2dtext)
returns a new l2dtext
- dimensions (l2dtext)
- returns: (float x,y,z)
returns dimension of space it would take when printed
- font (l2dtext,[texture])
- returns: (texture)
- fontset (l2dtext,[fontset])
- returns: (fontset)
- size (l2dtext,[float])
- returns: (float)
returns or sets font size, default is 16
- spacing (l2dtext,[float])
- returns: (float)
returns or sets font spacing, default is 16
- text (l2dtext,[string])
- returns: (string)
returns or sets text
Inherited Methods:
color,
delete,
deleteall,
firstchild,
get,
getroot,
l3dtarget,
l3dtargetoff,
local2world,
new,
parent,
pos,
rotcenter,
rotdeg,
rotrad,
scale,
scissor,
scissorlocal,
scissorparent,
scissorsize,
scissorstart,
sortid,
swapinchildlist,
world2local