ImageBitmap Class
A bitmap image that can be drawn without delay (https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#imagebitmap): created by createImageBitmap() (GlobalScope.CreateImageBitmap) from an image, a canvas, a blob, an image data or another bitmap. It is serializable and transferable.
public sealed class ImageBitmapProperties
| Name | Description |
|---|---|
| Height | Gets the height of the bitmap in pixels (0 when it is detached). |
| Width | Gets the width of the bitmap in pixels (0 when it is detached). |
Height
ImageBitmap.csGets the height of the bitmap in pixels (0 when it is detached).
public uint Height { get; }Width
ImageBitmap.csGets the width of the bitmap in pixels (0 when it is detached).
public uint Width { get; }Methods
| Name | Description |
|---|---|
| Close() | Releases the bitmap data (https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#dom-imagebitmap-close): the bitmap is detached. |
Close()
ImageBitmap.csReleases the bitmap data (https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#dom-imagebitmap-close): the bitmap is detached.
public void Close()