set_point


Description:

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

Change a corner point on the box

The descriptions of the corners may not match the actual locations of corners. These descriptions reflect the locations on a 'normal' box. Index 0 and 3 will be opposite corners. Also, index 1 and 2 will be opposite corners.

index Description
0 The lower left corner
1 The lower right corner
2 The upper left corner
3 The upper right corner

Parameters:

index

The index of the point

x

The new x coordinate for the point

y

The new y coordinate for the point