AndroidDrawingInterface

Functions

Link copied to clipboard
abstract fun drawBitmap(img: Bitmap, x: Int, y: Int)
Link copied to clipboard
abstract fun drawEllipse(x: Int, y: Int, width: Int, height: Int, color: Int, thickness: Double)
Link copied to clipboard
abstract fun drawImage(rawData: ByteArray?, x: Int, y: Int)
Link copied to clipboard
abstract fun drawLine(x1: Int, y1: Int, x2: Int, y2: Int, color: Int, thickness: Double)
Link copied to clipboard
abstract fun drawRect(x: Int, y: Int, width: Int, height: Int, color: Int, thickness: Double)
Link copied to clipboard
abstract fun drawRoundRect(x: Int, y: Int, width: Int, height: Int, borderRadius: Int, color: Int, thickness: Double)
Link copied to clipboard
abstract fun fill(color: Int)
Link copied to clipboard
abstract fun fillEllipse(x: Int, y: Int, width: Int, height: Int, color: Int)
Link copied to clipboard
abstract fun fillRect(x: Int, y: Int, width: Int, height: Int, color: Int)
Link copied to clipboard
abstract fun fillRoundRect(x: Int, y: Int, width: Int, height: Int, borderRadius: Int, color: Int)
Link copied to clipboard
abstract fun getBytes(format: String = "PNG", quality: Int = 100): ByteArray
Link copied to clipboard
abstract fun nativeImage(): Any