open class GlCircle : GlPolygon
GlCircle() |
var center: PointF |
|
var centerX: Float |
|
var centerY: Float |
|
var radius: Float
The polygon radius. The value 1 is half the smallest viewport dimension. For example, a GlCircle with radius 1 will touch the viewport borders exactly. |
|
var rotation: Float |
|
open var vertexArray: FloatBuffer
Returns the array of vertices. To avoid allocations, this returns internal state. The caller must not modify it. |
open fun draw(): Unit
Draws this drawable. This function should not be called directly. Instead, this drawable should be passed to some GlProgram. |
|
open fun onViewportSizeChanged(): Unit |