UNPKG

pencil.js

Version:

Nice modular interactive 2D drawing library.

21 lines (20 loc) 638 B
/** * @module Ellipse */ /** * Ellipse class * <br><img src="./media/examples/ellipse.png" alt="ellipse demo"/> * @class * @extends Arc */ export default class Ellipse extends Arc { /** * Ellipse constructor * @param {PositionDefinition} positionDefinition - Position of the center of the ellipse * @param {Number} [width=0] - Horizontal radius * @param {Number} [height=0] - Vertical radius * @param {ComponentOptions} [options] - Drawing options */ constructor(positionDefinition: any, width?: number, height?: number, options?: any); } import Arc from "@pencil.js/arc";