ChartDirector 5.1 (PHP Edition)

TTFText


The TTFText class represents text blocks. TTFText objects are created using DrawArea.text3 or DrawArea.text4.

MethodInheritedDescription
getWidth(Self)Gets the width of the text block.
getHeight(Self)Gets the height of the text block.
getLineHeight(Self)Gets the height of a typical line in the text block.
getLineDistance(Self)Gets the distance between two lines in the text block.
draw(Self)Draws the text block.