Options
All
  • Public
  • Public/Protected
  • All
Menu

Used by the RubberBandXyZoomModifier to draw an {@link SVGSVGElement | SVGElement} rectangle over the chart.

Hierarchy

  • RubberBandSvgRect

Implements

Index

Constructors

Accessors

Methods

Constructors

constructor

  • new RubberBandSvgRect(svgRoot: SVGSVGElement, fill: string, stroke: string, strokeThickness: number): RubberBandSvgRect
  • Parameters

    • svgRoot: SVGSVGElement
    • fill: string
    • stroke: string
    • strokeThickness: number

    Returns RubberBandSvgRect

Accessors

isHidden

  • get isHidden(): boolean
  • set isHidden(value: boolean): void
  • Gets isHidden property

    Returns boolean

  • Sets isHidden property

    Parameters

    • value: boolean

    Returns void

x1

  • get x1(): number
  • set x1(value: number): void
  • Gets the X1 value, the value is not scaled

    Returns number

  • Sets the X1 value, the value must be not scaled

    Parameters

    • value: number

    Returns void

x2

  • get x2(): number
  • set x2(value: number): void
  • Gets the X2 value, the value is not scaled

    Returns number

  • Sets the X2 value, the value must be not scaled

    Parameters

    • value: number

    Returns void

y1

  • get y1(): number
  • set y1(value: number): void
  • Gets the Y1 value, the value is not scaled

    Returns number

  • Sets the Y1 value, the value must be not scaled

    Parameters

    • value: number

    Returns void

y2

  • get y2(): number
  • set y2(value: number): void
  • Gets the Y2 value, the value is not scaled

    Returns number

  • Sets the Y2 value, the value must be not scaled

    Parameters

    • value: number

    Returns void

Methods

delete

  • delete(): void
  • Deletes the rect

    Returns void

Generated using TypeDoc