ChartDirector Ver 3.1 (PHP Edition Edition)

TTFText


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

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