Skip to content

Ellipse ​

Ellipse shape (oval).

Ellipse example

Examples ​

js
import { Ellipse } from "pencil.js";

const position = [100, 200];
const width = 50;
const height = 20;
const options = {
    fill: "red",
};
const ellipse = new Ellipse(position, width, height, options);

EllipseOptions ​

Inherit from ComponentOptions.

Ellipse have no specific options.

Released under the MIT License.