1.18.0 • Published 5 years ago

@pencil.js/heart v1.18.0

Weekly downloads
11
License
MIT
Repository
github
Last release
5 years ago

Heart

Heart shape.

Heart example

Installation

npm install @pencil.js/heart

Examples

import Heart from "@pencil.js/heart";

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.

1.18.0

5 years ago

1.17.0

5 years ago

1.16.0

5 years ago

1.15.0

5 years ago

1.14.0

6 years ago

1.13.1

6 years ago

1.13.0

6 years ago

1.12.0

6 years ago