From Xojo Documentation

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

iOSPath.AddRect(x As Double, y As Double, width As Double, height As Double)

Supported on Mobile(iOS).

Adds a rectangle to the path.


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:

Var rect As New iOSPath
rect.AddRect(10, 10, 100, 150)