ImageBitmapOptions Class
The options of createImageBitmap() (https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#imagebitmapoptions).
public sealed class ImageBitmapOptionsConstructors
| Name | Description |
|---|---|
| ImageBitmapOptions() |
ImageBitmapOptions()
ImageBitmap.cspublic ImageBitmapOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| ColorSpaceConversion | Gets whether the colors of a decoded image are converted to sRGB. |
| ImageOrientation | Gets the orientation of the image. |
| PremultiplyAlpha | Gets whether the colors are premultiplied by their alpha. |
| ResizeHeight | Gets the height of the bitmap, or null for the height of the source rectangle (or the one of its aspect ratio when ImageBitmapOptions.ResizeWidth is set). |
| ResizeQuality | Gets the quality of the scaling. |
| ResizeWidth | Gets the width of the bitmap, or null for the width of the source rectangle (or the one of its aspect ratio when ImageBitmapOptions.ResizeHeight is set). |
ColorSpaceConversion
ImageBitmap.csGets whether the colors of a decoded image are converted to sRGB.
public ColorSpaceConversion ColorSpaceConversion { get; init; }ImageOrientation
ImageBitmap.csGets the orientation of the image.
public ImageBitmapOrientation ImageOrientation { get; init; }PremultiplyAlpha
ImageBitmap.csGets whether the colors are premultiplied by their alpha.
public PremultiplyAlpha PremultiplyAlpha { get; init; }ResizeHeight
ImageBitmap.csGets the height of the bitmap, or null for the height of the source rectangle (or the one of its aspect ratio when ImageBitmapOptions.ResizeWidth is set).
public uint? ResizeHeight { get; init; }ResizeQuality
ImageBitmap.csGets the quality of the scaling.
public ResizeQuality ResizeQuality { get; init; }ResizeWidth
ImageBitmap.csGets the width of the bitmap, or null for the width of the source rectangle (or the one of its aspect ratio when ImageBitmapOptions.ResizeHeight is set).
public uint? ResizeWidth { get; init; }