AGTextureDrawer

class AGTextureDrawer(val ag: AG)

Constructors

Link copied to clipboard
constructor(ag: AG)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val ag: AG
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val VERTEX_COUNT: Int = 4
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun draw(frameBuffer: AGFrameBuffer, tex: AGTexture?, left: Float = -1f, top: Float = +1f, right: Float = +1f, bottom: Float = -1f)
Link copied to clipboard
fun drawXY(frameBuffer: AGFrameBuffer, tex: AGTexture?, x: Int, y: Int, width: Int, height: Int)
Link copied to clipboard
fun setVertex(n: Int, px: Float, py: Float, tx: Float, ty: Float)