getStrokeOutlinePoints

See source code

getStrokeOutlinePoints

Get an array of points (as [x, y]) representing the outline of a stroke.

function getStrokeOutlinePoints(
  strokePoints: StrokePoint[],
  options?: StrokeOptions,
): Vec[];

Parameters

NameDescription

strokePoints

options

An object with options.

Returns

Vec[];
Prev
getStroke
Next
getStrokePoints