Options
All
  • Public
  • Public/Protected
  • All
Menu

Ellipse, like circle, is based on an x and y center point. Unlike circle, it has separate properties for radius of x (across its width) and y (across its height). To rotate an ellipse, you must specify a transform.

Hierarchy

Implements

Index

Constructors

constructor

  • new Ellipse(cx: number, cy: number, rx: number, ry: number): Ellipse

Accessors

cx

cx:

cy

cy:

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.

rx

rx:

ry

ry:

stroke

stroke:

The Stroke object to outline the element with.

strokeOpacity

strokeOpacity:

The opacity of just the Stroke.

transform

transform:

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