draw Rect
fun drawRect(uiElement: UIElement, x: Float, y: Float, width: Float, height: Float, radius: Float = 0.0f, style: FillStyle = FillStyle.fill): Boolean
Draw rect command, to draw a rectangle on the glasses display
Return
true if the given information is valid
Parameters
ui Element
the UIKit.widgets.Rect ui element (or a custom control)
x
left pixel coordinate
y
top pixel coordinate
width
the width of the required square
height
the height of the required square
radius
corner radius n pixels
style
the fill style @see FillStyle