Skip to content

Latest commit

 

History

History

circle

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Circle

Circle shape.

Circle example

Examples

import { Circle } from "pencil.js";

const position = [100, 200];
const radius = 50;
const options = {
    fill: "red",
    stroke: "#000"
};
const circle = new Circle(position, radius, options);

CircleOptions

Inherit from EllipseOptions.

Circle have no specific options.