InputFilter class
Defines an input filter. Input filters are used to transform input points on the fly.
Methods
filter |
Filters (transforms) the specified point. |
reset(IPointer |
Resets this filter. Some filters use information about
previous points to transform the next point. |
Method Details
filterPoint(IPointerPoint)
Filters (transforms) the specified point.
function filterPoint(p: IPointerPoint): IPointerPoint
Parameters
The point to transform.
Returns
reset(IPointerPoint)
Resets this filter. 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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈