GraphicsPath.AddLineToPoint
From Xojo Documentation
Method
GraphicsPath.AddLineToPoint(x As Double, y As Double)
New in 2019r2
Supported for all project types and targets.
New in 2019r2
Supported for all project types and targets.
Draws a line from the Point to the specified point.
Parameters
Value | Description |
---|---|
x | The x coordinate for the end of the line. |
y | The y coordinate for the end of the line. |
Sample Code
Draw a triangle: