Copies a DlxPoint object.
Syntax: |
|---|
| DlxPoint.CopyPoint(point) |
Parameters
| Parameter | Description |
|---|---|
| point | DlxPoint object that is to be copied. |
Return Value
If the operation ends correctly, it returns true otherwise it returns false.
Example
Copy code
|
|
|---|---|
var p = new DlxPoint(10, 50);
var q = new DlxPoint();
q.CopyPoint(p);
p.x++;
q.x--;
DlxApp.Printf("px=%.2f, py=%.2f qx=%.2f, qy=%.2f", p.x, p.y, q.x, q.y);
|
|
