ElementImageDefaultSize Class

  • Experimental (WEBPLATEXP0023)

The size of an element image in the coordinates of the bitmap of its canvas (https://github.com/WICG/html-in-canvas).

[Experimental("WEBPLATEXP0023", UrlFormat = "https://github.com/meziantou/Meziantou.Framework/blob/main/src/Meziantou.Framework.WebPlatform/docs/experimental-apis.md#{0}")]
public sealed class ElementImageDefaultSize

Constructors

NameDescription
ElementImageDefaultSize()

ElementImageDefaultSize()

public ElementImageDefaultSize()

No documentation is available.

Properties

NameDescription
HeightGets the height, in pixels of the bitmap of the canvas.
WidthGets the width, in pixels of the bitmap of the canvas.

Gets the height, in pixels of the bitmap of the canvas.

public double Height { get; init; }

Gets the width, in pixels of the bitmap of the canvas.

public double Width { get; init; }