drawPolygonEx
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
uiElement
the UIKit.widgets.Polygon ui element (or a custom control)
xyPoints
array of xy coordinated
size
the size of the xPoints and yPoints arrays
xShiftPix
horizontal shift each polygon point in xShiftPix pixels
yShiftPix
vertical shift each polygon point in yShiftPix pixels
style
the fill style @see FillStyle