DrawElementImageOptions Class

  • Experimental (WEBPLATEXP0023)

The options of CanvasRenderingContext2DBase.DrawElementImage (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 DrawElementImageOptions

Constructors

NameDescription
DrawElementImageOptions()

DrawElementImageOptions()

public DrawElementImageOptions()

No documentation is available.

Properties

NameDescription
PreserveElementGeometryGets whether the canvas transform of the element is kept (else it is set to where the element is drawn).

PreserveElementGeometry

ElementImage.cs

Gets whether the canvas transform of the element is kept (else it is set to where the element is drawn).

public bool PreserveElementGeometry { get; init; }