Skip to main content

Interface: BrushStrokePoint

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

Extended by​

Properties​

pressure?​

optional pressure?: number

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

The pressure (0–1) of the brush stroke point, from PointerEvent.pressure


rotation?​

optional rotation?: number

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

The rotation (in radians) of the brush stroke point


tiltX?​

optional tiltX?: number

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

The pen tilt (-90–90 degrees) along the X axis, from PointerEvent.tiltX


tiltY?​

optional tiltY?: number

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

The pen tilt (-90–90 degrees) along the Y axis, from PointerEvent.tiltY


x​

x: number

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

The X coordinate of the brush stroke point


y​

y: number

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

The Y coordinate of the brush stroke point