Interface: PointInput
Defined in: src/lib/brushes/params/index.ts:25
What the input device reports for a point
Properties
isPen
isPen:
boolean
Defined in: src/lib/brushes/params/index.ts:32
Whether the point came from a pen (mouse and touch report no real pressure or tilt)
pressure?
optionalpressure?:number
Defined in: src/lib/brushes/params/index.ts:27
Pressure (0–1), only meaningful for pens
tiltX?
optionaltiltX?:number
Defined in: src/lib/brushes/params/index.ts:29
Tilt in degrees along X and Y (-90–90), only meaningful for pens
tiltY?
optionaltiltY?:number
Defined in: src/lib/brushes/params/index.ts:30