Skip to main content

Enumeration: SmoothingType

Defined in: src/lib/brushes/types/index.ts:14

How the line between a stroke's recorded points is drawn

Enumeration Members​

BezierCubic​

BezierCubic: 3

Defined in: src/lib/brushes/types/index.ts:22

Cubic curves whose handles follow the direction of movement before and after each point (smoothest; lags one point)


BezierQuad​

BezierQuad: 2

Defined in: src/lib/brushes/types/index.ts:20

Quadratic curves through the midpoints between points (smooth, no lag)


Linear​

Linear: 1

Defined in: src/lib/brushes/types/index.ts:18

Straight lines between points


None​

None: 0

Defined in: src/lib/brushes/types/index.ts:16

Same as Linear (kept for older presets)