mirror of
https://github.com/1disk/edp445.git
synced 2024-08-14 22:47:02 +00:00
Changed alot of things.
This commit is contained in:
parent
a5a0523e5a
commit
3513d5390c
2016 changed files with 336930 additions and 9 deletions
8
node_modules/canvacord/plugins/circle.js
generated
vendored
Normal file
8
node_modules/canvacord/plugins/circle.js
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
module.exports = (ctx, w, h) => {
|
||||
ctx.globalCompositeOperation = "destination-in";
|
||||
ctx.beginPath();
|
||||
ctx.arc(w / 2, h / 2, h / 2, 0, Math.PI * 2);
|
||||
ctx.closePath();
|
||||
ctx.fill();
|
||||
return ctx;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue