Ink Class

The Ink API of a window (https://wicg.github.io/ink-enhancement/#ink, navigator.ink): it creates the presenters that delegate the drawing of the ink trails of the pointer events to the compositor.

public sealed class Ink

Methods

NameDescription
RequestPresenter(InkPresenterParam?)Creates a new presenter of delegated ink trails (https://wicg.github.io/ink-enhancement/#dom-ink-requestpresenter). The task fails with a NotAllowedError DomException when the presentation area is not an element connected to the document of the window, as in Chromium.

RequestPresenter(InkPresenterParam?)

Ink.cs

Creates a new presenter of delegated ink trails (https://wicg.github.io/ink-enhancement/#dom-ink-requestpresenter). The task fails with a NotAllowedError DomException when the presentation area is not an element connected to the document of the window, as in Chromium.

public Task<DelegatedInkTrailPresenter> RequestPresenter(InkPresenterParam? param = null)

Parameters

param InkPresenterParam?
The presentation area of the presenter, or null for the viewport.

Returns

Task<DelegatedInkTrailPresenter> The new presenter.

See also