Difference between revisions of "Rect.Constructor(origin as Point, size as Size)"
From Xojo Documentation
(→Sample Code) |
|||
Line 14: | Line 14: | ||
Create a rect at 100, 100 that is 50 tall and 50 wide. | Create a rect at 100, 100 that is 50 tall and 50 wide. | ||
<rbcode> | <rbcode> | ||
− | Var p | + | Var p As New Point(100, 100) |
− | Var s | + | Var s As New Size(50, 50) |
Var myRect As New Rect(p, s) | Var myRect As New Rect(p, s) | ||
</rbcode> | </rbcode> |