Skip to main content

Circle

You can use the circle element to display a simple circle.

Syntax

let elements = [
{
type: "circle"
}
];

Rendered Element

The instance of Circle class will be created.

new Circle().set({
diameter: 108,
background: "#1abc9c",
}).render("#mount");