Class DelegatedInkTrailPresenter
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalDelegatedInkTrailPresenter 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
ExperimentalpresentationArea 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
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.
Methods
UpdateInkTrailStartPoint(PointerEvent, InkTrailStyle)
NOTE
ExperimentalupdateInkTrailStartPoint() 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_PointerEventstyleInkTrailStyle
Returns
- GlobalObject.Undefined
undefined.