Hierarchy

Constructors

Properties

base: CABase
completed?: ((e: any) => void)

Type declaration

    • (e: any): void
    • Parameters

      • e: any

      Returns void

drawEntityIds: string[] = []
handler: any
inActive: boolean = false
inPan: boolean = false
measureType: MEASURE_TYPE
name?: string
start?: Cartesian2
tipElement?: HTMLElement
type: DRAW_TYPE
types: MOUSE_TYPE[] = []

Methods

  • Parameters

    • p1: any
    • p2: any
    • p3: any

    Returns number

  • Parameters

    • from: any
    • to: any

    Returns any

  • 激活/开始绘制

    Returns void

  • Parameters

    • positions: Position[]
    • Optional ellipsoid: any

    Returns number

  • 清除绘制

    Returns void

  • 清除绘制的实体

    Returns void

  • Parameters

    • pos1: any
    • pos2: any
    • pos3: any

    Returns number

  • 暂停/结束绘制

    Returns void

  • Returns void

  • Returns void

  • Parameters

    Returns number

  • 设置绘制事件

    Parameters

    • type: DRAW_TYPE
    • Optional style: any

      绘制风格

    Returns void

  • Returns void

  • Parameters

    • operate: boolean

    Returns void

  • Parameters

    • type: MOUSE_TYPE
    • listener: ((e: any) => void)
        • (e: any): void
        • Parameters

          • e: any

          Returns void

    Returns void

  • @description: 更新比例尺

    Parameters

    • base: CABase

      CABase 对象

    • stepCount: number = 4

    Returns { value: undefined; width: undefined } | { value: undefined | number; width: number }

Generated using TypeDoc