From Xojo Documentation

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

iOSGraphics.FillRoundRect(x As Double, y As Double, width As Double, height As Double, cornerWidth As Double, cornerHeight As Double)

Supported on Mobile(iOS).

Draws a rounded rectangle, filling it with the FillColor.

Sample Code

From within an iOSCanvas.Paint event handler:

g.FillColor = Color.Blue
g.FillRoundRect(10, 10, 50, 50, 5, 5)