From Xojo Documentation

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

iOSGraphics.FillPath(path As iOSPath)

Supported on Mobile(iOS).

Draws a path, filling it with the FillColor.

Sample Code

From within an iOSCanvas.Paint event handler:

// Draw a triangle
Var p As New iOSPath
p.MoveToPoint(0, 0) // Start location
p.LineToPoint(20, 44)
p.LineToPoint(40, 0)
p.LineToPoint(0, 0)

g.FillColor = Color.Blue