Ellipse

An Ellipse ui element

Supported transformations: Scale, Rotate, Translate

Constructors

Link copied to clipboard
constructor()
constructor(id: String)

Functions

Link copied to clipboard

Get the center x that was defined in setEllipseInfo

Link copied to clipboard

Get the center y that was defined in setEllipseInfo

Link copied to clipboard

Get the x radius that was defined in setArcInfo

Link copied to clipboard

Get the y radius that was defined in setArcInfo

Link copied to clipboard
protected open override fun onDraw(canvas: CanvasBuffer)

The draw method is called to actually draw the ui element visual representation to the CanvasBuffer

Link copied to clipboard
open fun setEllipseInfo(centerX: Float, centerY: Float, radius: Float): Ellipse
open fun setEllipseInfo(centerX: Float, centerY: Float, radiusX: Float, radiusY: Float): Ellipse

Set the ellipse information to be drawn on the glasses display