Skip to main content

Variable: Interpolation

const Interpolation: object

Defined in: src/lib/profiles/index.ts:7

How the curve runs through a point (a plain object, not an enum, so schemas can use it in scripts run by Node)

Type Declaration​

BezierCubic​

readonly BezierCubic: "bezier-cubic" = "bezier-cubic"

A smooth curve through the point (as strokes with SmoothingType.BezierCubic)

BezierQuad​

readonly BezierQuad: "bezier-quad" = "bezier-quad"

A quadratic curve between the midpoints either side, bending towards the point without reaching it (as strokes with SmoothingType.BezierQuad)

Linear​

readonly Linear: "linear" = "linear"

A sharp corner: straight towards the points either side