ChartDirector 7.0 (PHP Edition)

Line.setPos


Usage

setPos(x1, y1, x2, y2)

Description

Sets the end-points of the line.

Arguments

ArgumentDefaultDescription
x1(Mandatory)The x coordinate of the first end-point of the line.
y1(Mandatory)The y coordinate of the first end-point of the line.
x2(Mandatory)The x coordinate of the second end-point of the line.
y2(Mandatory)The y coordinate of the second end-point of the line.

Return Value

None