set_point


Description:

public void set_point (int index, int x, int y)

Change a point on the line

index Description
0 The first endpoint of the line
1 The second endpoint of the line

Parameters:

index

The index of the point

x

The new x coordinate for the point

y

The new y coordinate for the point