Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
external class ImageBitmap : CanvasImageSource, TexImageSource, GPUCopyExternalImageSource, Transferable
Link copied to clipboard
Link copied to clipboard
Union of:
Link copied to clipboard
open external class ImageData(sw: Int, sh: Int, settings: ImageDataSettings = definedExternally) : ImageBitmapSource, TexImageSource, GPUCopyExternalImageSource
The underlying pixel data of an area of a
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
suspend external fun createImageBitmap(image: ImageBitmapSource, options: ImageBitmapOptions? = definedExternally): ImageBitmap
suspend external fun createImageBitmap(image: ImageBitmapSource, sx: Int, sy: Int, sw: Int, sh: Int, options: ImageBitmapOptions? = definedExternally): ImageBitmap
Link copied to clipboard
external fun createImageBitmapAsync(image: ImageBitmapSource, options: ImageBitmapOptions? = definedExternally): Promise<ImageBitmap>
external fun createImageBitmapAsync(image: ImageBitmapSource, sx: Int, sy: Int, sw: Int, sh: Int, options: ImageBitmapOptions? = definedExternally): Promise<ImageBitmap>