Type alias TGesture

TGesture: {
    gestureStrokeId: string;
    gestureType: TGestureType;
    strokeAfterIds: string[];
    strokeBeforeIds: string[];
    strokeIds: string[];
    subStrokes?: {
        fullStrokeId: string;
        x: number[];
        y: number[];
    }[];
}

Type declaration

  • gestureStrokeId: string
  • gestureType: TGestureType
  • strokeAfterIds: string[]
  • strokeBeforeIds: string[]
  • strokeIds: string[]
  • Optional subStrokes?: {
        fullStrokeId: string;
        x: number[];
        y: number[];
    }[]

Remarks

when gestureType = "INSERT", subStrokes represent the two parts when gestureType = "SCRATCH", subStrokes represent the part to substract at the stroke corresponding fullStrokeId

Generated using TypeDoc