Class StrokeSmoother

Handles stroke smoothing

Constructors

  • Parameters

    • startPoint: StrokeDataPoint
    • minFitAllowed: number

      Maximum distance from the actual curve (irrespective of stroke width) for which a point is considered 'part of the curve'. Note that the maximum will be smaller if the stroke width is less than [maxFitAllowed].

    • maxFitAllowed: number
    • onCurveAdded: OnCurveAddedCallback

    Returns StrokeSmoother

Methods

OpenSource licenses