ChartDirector 7.1 (C++ Edition)

TTFText.draw


Usage

void draw(int x, int y, int color, int alignment = TopLeft) const;

Description

Draws the text block.

Arguments

ArgumentDefaultDescription
x(Mandatory)The x coordinate of a reference point to align the text.
y(Mandatory)The y coordinate of a reference point to align the text.
color(Mandatory)The color of the text.
alignmentTopLeftThe location of the text relative to the reference point. See Alignment Specification for supported alignment types.

Return Value

None