Interface: BrushStrokePoint
Defined in: src/lib/brushes/types/index.ts:256
Extended by
Properties
pressure?
optionalpressure?:number
Defined in: src/lib/brushes/types/index.ts:264
The pressure (0–1) of the brush stroke point, from PointerEvent.pressure
rotation?
optionalrotation?:number
Defined in: src/lib/brushes/types/index.ts:262
The rotation (in radians) of the brush stroke point
tiltX?
optionaltiltX?:number
Defined in: src/lib/brushes/types/index.ts:266
The pen tilt (-90–90 degrees) along the X axis, from PointerEvent.tiltX
tiltY?
optionaltiltY?: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