Method | Description | |
---|---|---|
Box ( ) : System | ||
Box ( Point nA, Point nB, Point nC, Point nD ) : System | ||
Box ( |
||
Contains ( Point pt ) : bool |
Test for inclusion of a point.
|
|
Drag ( Point from, Point to ) : void |
Perform a single drag operation.
|
|
Render ( |
Render the object in a Graphics context.
|
|
Set ( |
Override all corners.
|
Method | Description | |
---|---|---|
Distance ( |
Distance squared between two points.
|
|
RecomputeOutline ( ) : void |
public Box ( Point nA, Point nB, Point nC, Point nD ) : System | ||
nA | Point | |
nB | Point | |
nC | Point | |
nD | Point | |
return | System |
public Box ( |
||
nA | ||
nB | ||
nC | ||
nD | ||
return | System |
public Drag ( Point from, Point to ) : void | ||
from | Point | From point. |
to | Point | To point |
return | void |
public Render ( |
||
G | Graphics object to draw with. | |
bg | Color | Background color. |
fg | Color | Outline color. |
return | void |
public Set ( |
||
nA | ||
nB | ||
nC | ||
nD | ||
return | void |