Copies a DlxRect object.

syntaxSyntax:
DlxRect.CopyRect(rect)

Parameters

Parameter Description
rect DlxRect object that is to be copied.

Return Value

If the operation ends correctly, it returns true otherwise it returns false.

Example

  Copy codeCopy code
var r = new DlxRect(10, 20, 80, 100);
var r1 = new DlxRect();
r1.CopyRect(r);
r.left++;
r1.left--;
DlxApp.Printf("r.left=%.2f, r1.left=%.2f", r.left, r1.left);

See also