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.
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour