iOSGraphics.DrawLine

From Xojo Documentation

Method

iOSGraphics.DrawLine(x1 As Double, y1 As Double, x2 As Double, y2 As Double)

Supported on Mobile(iOS).

Draws a line from x1, y1 to x2, y2.

Sample Code

From within an iOSCanvas.Paint event handler:

g.LineColor = Color.Blue
g.DrawLine(0, 0, g.Width, g.Height)