1.0.6 • Published 2 years ago

rp-canvas-paint v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

rp-canvas-paint

Installation

npm i rp-canvas-paint

Usage

with svelte

<script>
import {setup} from "rp-canvas-paint";
</script>

<canvas use:setup width="600" height="600"></canvas>

use it with the config file

import {setup,defaultConfig} from "rp-canvas-paint";
    defaultConfig.stroke.width=6;
    defaultConfig.stroke.style="rgb(255,160,30)";
    setup(node,defaultConfig)
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago