Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class ImageBitmap : CanvasImageSource, TexImageSource, GPUCopyExternalImageSource, Transferable, Serializable
The ImageBitmap
interface represents a bitmap image which can be drawn to a canvas without undue latency.
Link copied to clipboard
interface ImageBitmapOptions
Link copied to clipboard
interface ImageBitmapSource
Union of:
Link copied to clipboard
open class ImageData( sw: Int, sh: Int, settings: ImageDataSettings = definedExternally) : ImageBitmapSource, TexImageSource, GPUCopyExternalImageSource, Serializable
The ImageData
interface represents the underlying pixel data of an area of a canvas element.
Link copied to clipboard
Link copied to clipboard
interface ImageDataSettings
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>