Options
All
  • Public
  • Public/Protected
  • All
Menu

编辑控制器实例类型

Hierarchy

  • EditorControllerTarget

Implemented by

Index

Methods

closeEditorBox

closeHightlight

closeSelectRange

editorBoxIsDraging

  • editorBoxIsDraging(): boolean
  • 编辑框是否正在拖拽

    api

    Returns boolean

eraserEditingShape

getEditingIds

  • getEditingIds(): undefined | string[]
  • 获取正在编辑中的图形 id 列表,没有时返回 undefined

    api

    Returns undefined | string[]

getHightlightShape

  • getHightlightShape(): undefined | Shape[]
  • 获取正在高亮中的图形

    api

    Returns undefined | Shape[]

getSelectedShapes

  • getSelectedShapes(): undefined | Shape[]
  • 获取当前选区选中的图形列表

    Returns undefined | Shape[]

isEditingShape

  • isEditingShape(id: string): boolean
  • 判断是否正在编辑中的图形

    api

    Parameters

    • id: string

      目标 id

    Returns boolean

isHightlightShape

  • isHightlightShape(id: string): boolean
  • 判断是否正在高亮的图形

    api

    Parameters

    • id: string

      目标 id

    Returns boolean

setEditorShapes

setEndRange

setHightlight

setSelectRange