SizedDrawable

Properties

Link copied to clipboard
abstract val height: Int
Link copied to clipboard
abstract val width: Int

Functions

Link copied to clipboard
abstract fun draw(c: Context2d)
Link copied to clipboard
fun <T : Bitmap> Drawable.draw(out: T): T
Link copied to clipboard
Link copied to clipboard
fun SizedDrawable.raster(scaleX: Double = 1.0, scaleY: Double = scaleX): NativeImage
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Drawable.renderToImage(width: Int, height: Int): NativeImage
fun Drawable.renderToImage(width: Int, height: Int, native: Boolean): Bitmap
Link copied to clipboard
fun SizedDrawable.scaled(sx: Number = 1.0, sy: Number = sx): SizedDrawable
Link copied to clipboard
suspend fun SizedDrawable.showImageAndWait(kind: Int = 0)
Link copied to clipboard
fun Drawable.toShape(width: Int, height: Int): Shape
Link copied to clipboard
fun SizedDrawable.toSvg(scale: Double = 1.0): Xml
fun Drawable.toSvg(width: Int, height: Int, scale: Double = 1.0): Xml
Link copied to clipboard