Makes DlxRect a null rectangle by setting all coordinates to zero.
Syntax: |
---|
DlxRect.SetRectEmpty() |
Return Value
If the operation ends correctly, it returns true otherwise it returns false.
Example
Copy 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);
|