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.