g.js — graphical objects for JavaScript

ellipseellipse

Create an ellipse or circle.

g.ellipse({x: 0, y: 0}, 100, 100);

Parameters

  • position: The center point of the ellipse.
  • width: The width of the ellipse.
  • height: The height of the ellipse.