draw Polygon Ex
fun drawPolygonEx(uiElement: UIElement, xyPoints: FloatArray, size: Int, xShiftPix: Float, yShiftPix: Float, style: FillStyle, convex: Boolean, offset: Int = 0, stride: Int = 2): Boolean
Draw a polygon command, to draw a polygon on the glasses display
Return
true if the given information is valid
Parameters
ui Element
the UIKit.widgets.Polygon ui element (or a custom control)
xy Points
array of xy coordinated
size
the size of the xPoints and yPoints arrays
x Shift Pix
horizontal shift each polygon point in xShiftPix pixels
y Shift Pix
vertical shift each polygon point in yShiftPix pixels
style
the fill style @see FillStyle