getStrokePoints

See source code

getStrokePoints

Get an array of points as objects with an adjusted point, pressure, vector, distance, and runningLength.

function getStrokePoints(
  rawInputPoints: VecLike[],
  options?: StrokeOptions,
): StrokePoint[];

Parameters

NameDescription

rawInputPoints

VecLike[];

options

An object with options.

Returns

Prev
getStrokeOutlinePoints
Next
getSvgPathFromStrokePoints