iOSGraphics.FillRoundRect

From Xojo Documentation

Method

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)