InputFilterCollection class
Represents a collection of input filters.
Constructors
Input |
Creates a new InputFilterCollection instance. |
Methods
add |
Adds filters to the collection. |
filter |
Filters (transforms) the specified point through each of the individual filters in the collection. |
reset(IPointer |
Resets all the filters in the collection. Some filters
use information about previous points to transform the
next point. |
Constructor Details
InputFilterCollection(InputFilter[])
Creates a new InputFilterCollection instance.
new InputFilterCollection(items: InputFilter[])
Parameters
- items
The initial inputs filters.
Method Details
addFilters(InputFilter[])
Adds filters to the collection.
function addFilters(items: InputFilter[])
Parameters
- items
The filters to add.
filterPoint(IPointerPoint)
Filters (transforms) the specified point through each of the individual filters in the collection.
function filterPoint(p: IPointerPoint): IPointerPoint
Parameters
The point to transform.
Returns
The transformed point.
reset(IPointerPoint)
Resets all the filters in the collection. Some filters
use information about previous points to transform the
next point. reset
will be called automatically by
InkingManager when a new wet stroke begins.
function reset(startPoint: IPointerPoint)
Parameters
- startPoint
- IPointerPoint
The new starting point.
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für