iOSGraphics.DrawRoundRect

From Xojo Documentation

Method

iOSGraphics.DrawRoundRect(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.

Sample Code

From within an iOSCanvas.Paint event handler:

g.LineColor = Color.Blue
g.DrawRoundRect(10, 10, 50, 50, 5, 5)