UpdateElementGeometryOptions Class
- Experimental (WEBPLATEXP0023)
The options of HtmlCanvasElement.UpdateElementGeometry (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 UpdateElementGeometryOptionsConstructors
| Name | Description |
|---|---|
| UpdateElementGeometryOptions() |
UpdateElementGeometryOptions()
public UpdateElementGeometryOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| CanvasClip | Gets the clip of the element for the hit testing, in the coordinates of its canvas transform, or null to keep it. |
| CanvasTransform | Gets the canvas transform of the element, which maps its border box (before its CSS transforms) to the content box of the canvas, in CSS pixels, or null to keep it. |
| PreserveHitTestOrder | Gets whether an element already in the hit testing order of the canvas keeps its place (else it moves to the top). |
CanvasClip
ElementImage.csGets the clip of the element for the hit testing, in the coordinates of its canvas transform, or null to keep it.
public DomRectInit? CanvasClip { get; init; }CanvasTransform
ElementImage.csGets the canvas transform of the element, which maps its border box (before its CSS transforms) to the content box of the canvas, in CSS pixels, or null to keep it.
public DomMatrixInit? CanvasTransform { get; init; }PreserveHitTestOrder
ElementImage.csGets whether an element already in the hit testing order of the canvas keeps its place (else it moves to the top).
public bool PreserveHitTestOrder { get; init; }