From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Color )
aiOSGraphics.LineColor = newColorValue
ColorValue = aiOSGraphics.LineColor

Supported on Mobile (iOS).

The color to use when drawing lines and shapes.

Sample Code

From within an iOSCanvas.Paint event handler:

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