Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

  • new Line(x1: number, y1: number, x2: number, y2: number): Line
  • Parameters

    • x1: number
    • y1: number
    • x2: number
    • y2: number

    Returns Line

Accessors

fill

fill:

The Color to fill the element with.

fillOpacity

fillOpacity:

The opacity of the just the fill Color.

opacity

opacity:

The opacity of the entire Shape.

stroke

stroke:

The Stroke object to outline the element with.

strokeOpacity

strokeOpacity:

The opacity of just the Stroke.

transform

transform:

x1

x1:

x2

x2:

y1

y1:

y2

y2:

Methods

addObserver

  • addObserver(observer: Observer<SVGElement>): void

clearObservers

  • clearObservers(): void

notify

  • notify(): void

onclick

  • onclick(event: MouseEvent): void

ondblclick

  • ondblclick(event: MouseEvent): void

onmousedown

  • onmousedown(event: MouseEvent): void

onmousemove

  • onmousemove(event: MouseEvent): void

onmouseout

  • onmouseout(event: MouseEvent): void

onmouseover

  • onmouseover(event: MouseEvent): void

onmouseup

  • onmouseup(event: MouseEvent): void

removeObserver

  • removeObserver(observer: Observer<SVGElement>): void

toString

  • toString(): string

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc