Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InfoPoint

Hierarchy

  • InfoPoint

Index

Constructors

constructor

  • new InfoPoint(doc: Document, definition?: SVGElement | string): InfoPoint
  • Parameters

    • doc: Document
    • Default value definition: SVGElement | string = null

    Returns InfoPoint

Properties

doc

doc: Document

Protected h

h: number

Protected ox

ox: number = 0

Protected oy

oy: number = 0

Protected popup

popup: HTMLElement = null

root

root: SVGSVGElement

Protected scale

scale: number = 1

Private symbol

symbol: SVGSymbolElement

useElement

useElement: SVGUseElement

Protected w

w: number

Protected x

x: number

Protected y

y: number

Methods

attachTo

  • attachTo(el: SVGGraphicsElement, x: "left" | "center" | "right" | number, y: "top" | "center" | "bottom" | number): void
  • Parameters

    • el: SVGGraphicsElement
    • x: "left" | "center" | "right" | number
    • y: "top" | "center" | "bottom" | number

    Returns void

dispose

  • dispose(): void

Protected getStandardSymbol

  • getStandardSymbol(): SVGSymbolElement

Protected getSymbolFrom

  • getSymbolFrom(definition: SVGElement | string): SVGSymbolElement
  • Parameters

    • definition: SVGElement | string

    Returns SVGSymbolElement

hidePopup

  • hidePopup(): void

offsetX

  • offsetX(n: number): void

offsetY

  • offsetY(n: number): void

select

  • select(): void

setPopup

  • setPopup(popup: HTMLElement): void

setPosition

  • setPosition(x: number, y: number): void

setScale

  • setScale(n: number): void

setSize

  • setSize(width: number, height: number): void

showPopup

  • showPopup(evt: MouseEvent): void

unselect

  • unselect(): void

Protected updateSvg

  • updateSvg(): void

Generated using TypeDoc