open class GlRoundRect : Gl2dDrawable
<init> |
GlRoundRect() |
vertexArray |
Returns the array of vertices. To avoid allocations, this returns internal state. The caller must not modify it. open var vertexArray: FloatBuffer |
draw |
Draws this drawable. This function should not be called directly. Instead, this drawable should be passed to some GlProgram. open fun draw(): Unit |
onViewportSizeChanged |
open fun onViewportSizeChanged(): Unit |
setCornersPx |
fun setCornersPx(corners: Int): Unitfun setCornersPx(topLeft: Int, topRight: Int, bottomLeft: Int, bottomRight: Int): Unit |
setRect |
fun setRect(rect: <ERROR CLASS>): Unitfun setRect(left: Float, top: Float, right: Float, bottom: Float): Unit |