Makes DlxRect a null rectangle by setting all coordinates to zero.

syntaxSyntax:
DlxRect.SetRectEmpty()

Return Value

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

Example

  Copy codeCopy code
var r = new DlxRect(0, 0, 35, 35);
r.SetRectEmpty();
DlxApp.Printf("r.left=%.2f, r.bottom=%.2f, r.right=%.2f, r.top=%.2f", r.left, r.bottom, r.right, r.top);

See also