GraphicsPath.AddRectangle
From Xojo Documentation
Method
GraphicsPath.AddRectangle(x As Double, y As Double, width As Double, height As Double)
New in 2019r2
Supported for all project types and targets.
New in 2019r2
Supported for all project types and targets.
Adds a rectangle to the path.
Parameters
Value | Description |
---|---|
x | The left position of the rectangle. |
y | The top position of the rectangle. |
width | The width of the rectangle. |
height | The height of the rectangle. |
Sample Code
A simple rectangle: