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.
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示