Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CommentEditor

Hierarchy

Index

Constructors

constructor

Properties

color

color: Color

commentType

commentType: CommentType

fontStyle

fontStyle: string

inputMap

inputMap: undefined | InputMap

lineWidth

lineWidth: number

viewer

viewer: Viewer

Methods

begin

  • begin(): Promise<boolean>

destroy

  • destroy(): undefined

end

  • end(): void

exportImage

  • exportImage(): string

isDestroyed

  • isDestroyed(): boolean

keyDownCallback

  • keyDownCallback(evt: KeyboardEvent): void

keyUpCallback

  • keyUpCallback(evt: KeyboardEvent): void

onLeftDown

  • onLeftDown(movement: Vector2): void

onLeftUp

  • onLeftUp(): void

onMouseMove

  • onMouseMove(movement: Vector2): void

register

  • register(): void

removeApplyType

setApplyType

setDrawingType

setText

  • setText(position: Vector2, text: string): void