Class OIGestureManager

Accessors

  • get currentStyle(): TStyle
  • Returns TStyle

  • get model(): OIModel
  • Returns OIModel

  • get rowHeight(): number
  • Returns number

  • get strokeSpaceWidth(): number
  • Returns number

Constructors

Methods

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void | TOISymbol[]>

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    • gestureStroke: OIStroke
    • strokeIdToSplit: string
    • subStrokes: {
          fullStrokeId: string;
          x: number[];
          y: number[];
      }[]

    Returns TOIHistoryChanges

  • Parameters

    Returns {
        erased?: boolean;
        replaced?: TOISymbol[];
    }

    • Optional erased?: boolean
    • Optional replaced?: TOISymbol[]
  • Parameters

    Returns undefined | OIText

  • Parameters

    • strokeOrigin: OIStroke
    • subStrokes: {
          x: number[];
          y: number[];
      }[]

    Returns {
        after?: OIStroke;
        before?: OIStroke;
    }

  • Parameters

    • gestureStroke: OIStroke
    • group: OISymbolGroup
    • subStrokes: {
          fullStrokeId: string;
          x: number[];
          y: number[];
      }[]

    Returns OISymbolGroup[]

  • Parameters

    • strokeOrigin: OIStroke
    • subStrokes: {
          x: number[];
          y: number[];
      }[]

    Returns OIStroke[]

  • Parameters

    Returns Promise<undefined | TGesture>

Properties

#logger: Logger = ...
behaviors: OIBehaviors
insertAction: InsertAction = InsertAction.LineBreak
strikeThroughAction: StrikeThroughAction = StrikeThroughAction.Draw
surroundAction: SurroundAction = SurroundAction.Select

Generated using TypeDoc