IInkPoint Interface
Packages > @fluidframework/ink > IInkPoint
Data about a single point in an ink stroke
Signature:
export interface IInkPoint
Properties
Property | Type | Description |
---|---|---|
pressure | number | The ink pressure applied (typically from PointerEvent.pressure). |
time | number | Time, in milliseconds, that the point was generated on the originating device. |
x | number | X coordinate |
y | number | Y coordinate |
Events
pressure
The ink pressure applied (typically from PointerEvent.pressure).
Signature:
pressure: number;
time
Time, in milliseconds, that the point was generated on the originating device.
Signature:
time: number;
x
X coordinate
Signature:
x: number;
y
Y coordinate
Signature:
y: number;