ChartDirector 7.0 (Java Edition)

Line.setPos


Usage

public void setPos(int x1, int y1, int x2, int 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