drawLine

fun drawLine(uiElement: UIElement, x1: Float, y1: Float, x2: Float, y2: Float): Boolean

Draw line command, to draw a line on the glasses display

Return

true if the given information is valid

Parameters

uiElement

the UIKit.widgets.Line ui element (or a custom control)

x1

start x pixel coordinate

y1

start y pixel coordinate

x2

end x pixel coordinate

y2

end y pixel coordinate