ChartDirector 7.0 (Java Edition)

TTFText.draw


Usage

public void draw(int x, int y, int color [, int alignment ])

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