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 DrawElementImageOptionsConstructors
| Name | Description |
|---|---|
| DrawElementImageOptions() |
DrawElementImageOptions()
public DrawElementImageOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| PreserveElementGeometry | Gets whether the canvas transform of the element is kept (else it is set to where the element is drawn). |
PreserveElementGeometry
ElementImage.csGets whether the canvas transform of the element is kept (else it is set to where the element is drawn).
public bool PreserveElementGeometry { get; init; }