iOS Rectangle
From Xojo Documentation
Contents
Rectangle is used to display rectangles and rounded rectangles on the layout. The user does not typically interact with this control.
Properties
- The color to draw the border.
- The width (or thickness) of the border.
- The corner height for drawing rounded rectangles.
- The corder width for drawing rounded rectangles.
- The color for the fill area of the rectangle.
Usage
This code in the Open event handler updates the rectangle to have thick blue borders, rounded corners and a red fill:
Me.BorderColor = Color.Blue
Me.BorderWidth = 10
Me.CornerHeight = 25
Me.CornerWidth = 25
Me.FillColor = Color.Red
Me.BorderWidth = 10
Me.CornerHeight = 25
Me.CornerWidth = 25
Me.FillColor = Color.Red
See Also
iOSRectangle class; UserGuide:iOS UI topic