ElementImage Class
- Experimental (WEBPLATEXP0023)
A snapshot of the rendering of a drawable element of a canvas whose content is drawable (https://github.com/WICG/html-in-canvas): the one recorded by the last rendering update, returned by HtmlCanvasElement.CaptureElementImage. It can be drawn into the canvas it was captured from with CanvasRenderingContext2DBase.DrawElementImage, also after the element changed, until it is closed.
[Experimental("WEBPLATEXP0023", UrlFormat = "https://github.com/meziantou/Meziantou.Framework/blob/main/src/Meziantou.Framework.WebPlatform/docs/experimental-apis.md#{0}")]
public sealed class ElementImageMethods
| Name | Description |
|---|---|
| Close() | Releases the snapshot: the image can no longer be drawn nor measured. |
Close()
ElementImage.cs- Experimental (WEBPLATEXP0023)
Releases the snapshot: the image can no longer be drawn nor measured.
[Experimental("WEBPLATEXP0023", UrlFormat = "https://github.com/meziantou/Meziantou.Framework/blob/main/src/Meziantou.Framework.WebPlatform/docs/experimental-apis.md#{0}")]
public void Close()