Added example for .tatoo()
Fixed the litle hole at the top of the users pic on .thomas()
This commit is contained in:
@@ -432,13 +432,13 @@ class DIG {
|
||||
const ctx = canvas.getContext("2d");
|
||||
const avatar = await Canvas.loadImage(image);
|
||||
const background = await Canvas.loadImage(__dirname +"/assets/thomas.png");
|
||||
ctx.drawImage(avatar, 220, 200, 400, 400);
|
||||
ctx.drawImage(avatar, 220, 190, 400, 400);
|
||||
ctx.drawImage(background, 0, 0, 841, 1058);
|
||||
return canvas.toBuffer();
|
||||
}
|
||||
|
||||
/**
|
||||
* Thomas
|
||||
* Tatoo
|
||||
* @param {image} image
|
||||
*/
|
||||
static async tatoo(image) {
|
||||
|
Reference in New Issue
Block a user