Package-level declarations
Types
Link copied to clipboard
class AwtContext2dRender(val awtImage: BufferedImage, val antialiasing: Boolean = true, val warningProcessor: (message: String) -> Unit? = null) : Renderer
Link copied to clipboard
Link copied to clipboard
abstract class BaseAwtNativeImage(val width: Int, val height: Int, val data: Any?, premultiplied: Boolean) : NativeImage
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun BufferedImage.clone(width: Int = this.width, height: Int = this.height, type: Int = AWT_INTERNAL_IMAGE_TYPE_PRE): BufferedImage
Link copied to clipboard
fun BufferedImage.cloneIfRequired(width: Int = this.width, height: Int = this.height, type: Int = AWT_INTERNAL_IMAGE_TYPE_PRE): BufferedImage
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Bitmap.toAwt(out: BufferedImage = BufferedImage(
width.coerceAtLeast(1),
height.coerceAtLeast(1),
if (this.premultiplied) BufferedImage.TYPE_INT_ARGB_PRE else BufferedImage.TYPE_INT_ARGB
)): BufferedImage
fun Bitmap32.toAwt(out: BufferedImage = BufferedImage(
width.coerceAtLeast(1),
height.coerceAtLeast(1),
if (this.premultiplied) BufferedImage.TYPE_INT_ARGB_PRE else BufferedImage.TYPE_INT_ARGB
)): BufferedImage
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard