Options
All
  • Public
  • Public/Protected
  • All
Menu

Annotation controller type

Hierarchy

  • AnnotationControllerType

Index

Methods

  • Clear the annotation on the shared content. The viewer can clear their content with Mine = 0. The host can clear their content with Mine = 0, or all content with All = 2. The presenter can clear their content with Mine = 0, viewer content with Viewer = 1, or all content with All = 2.

    Parameters

    Returns ExecutedResult

  • getToolColor(): number
  • Get the annotation tool color.

    Returns number

  • getToolWidth(): number
  • Get the annotation tool width.

    Returns number

  • Redo the annotation operation. Listen to the 'annotation-redo-status' event to check if the redo operation is available.

    Returns ExecutedResult

  • Set the annotation tool color. Default is black (0xff000000).

    Parameters

    • color: number

      number, RGBA color in 8-digit hexadecimal format. Example: white: 0xffffffff.

    Returns ExecutedResult

  • Set the annotation tool width. Default is 8px.

    Parameters

    • width: number

      number

    Returns ExecutedResult

  • Undo the annotation operation. Listen to the 'annotation-undo-status' event to check if the undo operation is available.

    Returns ExecutedResult