Table of Contents

Class DelegatedInkTrailPresenter

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll
NOTE
Experimental
The DelegatedInkTrailPresenter interface of the Ink API provides the ability to instruct the OS-level compositor to render ink strokes between pointer event dispatches.
[Value("DelegatedInkTrailPresenter")]
public class DelegatedInkTrailPresenter
Inheritance
DelegatedInkTrailPresenter
Inherited Members

Remarks

Constructors

DelegatedInkTrailPresenter()

public DelegatedInkTrailPresenter()

Properties

PresentationArea

NOTE
Experimental
The presentationArea read-only property of the DelegatedInkTrailPresenter interface returns the Element inside which rendering of ink strokes is confined.
[Value("presentationArea")]
public Element? PresentationArea { get; }

Property Value

Element

An Element.

Remarks

If the preceding RequestPresenter(InkPresenterParam) method call included a specific presentationArea element definition, then that will be the element returned. Otherwise, the default is returned, which is the containing viewport.

This area is always the client coordinates for the element's border box, so moving the element or scrolling the element requires no recalculation on the developer's part.

See also on MDN

Methods

UpdateInkTrailStartPoint(PointerEvent, InkTrailStyle)

NOTE
Experimental
The updateInkTrailStartPoint() method of the DelegatedInkTrailPresenter interface indicates which PointerEvent was used as the last rendering point for the current frame, allowing the OS-level compositor to render a delegated ink trail ahead of the next pointer event being dispatched.
[Value("updateInkTrailStartPoint")]
public GlobalObject.Undefined UpdateInkTrailStartPoint(PointerEvent event_, InkTrailStyle style)

Parameters

event_ PointerEvent
style InkTrailStyle

Returns

GlobalObject.Undefined

undefined.

Remarks