setEllipseInfo

open fun setEllipseInfo(centerX: Float, centerY: Float, radius: Float): Ellipse

Set the ellipse information to be drawn on the glasses display

Since both axis will receive the same radius, ths method actually draws a circle

This method overrides the x & y coordinates that was defined in setX&setY

Return

this

Parameters

centerX

the x center of the ellipse in pixels

centerY

the y center of the ellipse in pixels

radius

the radius in pixels


open fun setEllipseInfo(centerX: Float, centerY: Float, radiusX: Float, radiusY: Float): Ellipse

Set the ellipse information to be drawn on the glasses display

This method overrides the x & y coordinates that was defined in setX&setY

Return

this

Parameters

centerX

the x center of the ellipse in pixels

centerY

the y center of the ellipse in pixels

radiusX

the x axis (horizontal) radius in pixels

radiusY

the y axis (vertical) radius in pixels