Skip to content

Latest commit

 

History

History

heart

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Heart

Heart shape.

Heart example

Examples

import { Heart } from "pencil.js";

const position = [100, 200];
const radius = 2;
const options = {
    fill: "red",
    stroke: "teal"
};
const heart = new Heart(position, radius, options);

HeartOptions

Inherit from ComponentOptions.

Heart have no specific options.