🖼️Canvas
Members
generateBadgesCanvas ⇒ Promise.<Buffer>
Generate the badge canvas
genBase ⇒ Promise.<Buffer>
Generate the card background
genFrame ⇒ Promise.<Buffer>
Generate the card frame
genBorder ⇒ Promise.<Buffer>
Generate the edges of the card with a multi-color gradient
genTextAndAvatar ⇒ Promise.<Buffer>
Generate the card text and avatar
genAvatarFrame ⇒ Promise.<Buffer>
This function generates the avatar frame
cutAvatarStatus ⇒ Promise.<Buffer>
This function cuts the presence status on the card
genStatus ⇒ Promise.<Buffer>
Sets the presence status on the card
genBotVerifBadge ⇒ Promise.<Buffer>
Generate the bot verification badge
addShadow ⇒ Promise.<Buffer>
Shadows for the canvas
Functions
genXpBar(options) ⇒ Promise.<Buffer>
Generate the experience bar
generateBadgesCanvas ⇒ Promise.<Buffer>
Promise.<Buffer>
Generate the badge canvas
Kind: global variable
Returns: Promise.<Buffer>
- Canvas
genBase ⇒ Promise.<Buffer>
Promise.<Buffer>
Generate the card background
Kind: global variable
Returns: Promise.<Buffer>
- Canvas
genFrame ⇒ Promise.<Buffer>
Promise.<Buffer>
Generate the card frame
Kind: global variable
Returns: Promise.<Buffer>
- Canvas
genBorder ⇒ Promise.<Buffer>
Promise.<Buffer>
Generate the edges of the card with a multi-color gradient
Kind: global variable
Returns: Promise.<Buffer>
- Canvas
genTextAndAvatar ⇒ Promise.<Buffer>
Promise.<Buffer>
Generate the card text and avatar
Kind: global variable
genAvatarFrame ⇒ Promise.<Buffer>
Promise.<Buffer>
This function generates the avatar frame
Kind: global variable
Returns: Promise.<Buffer>
- Canvas
cutAvatarStatus ⇒ Promise.<Buffer>
Promise.<Buffer>
This function cuts the presence status on the card
Kind: global variable
Returns: Promise.<Buffer>
- Canvas
genStatus ⇒ Promise.<Buffer>
Promise.<Buffer>
Sets the presence status on the card
Kind: global variable
Returns: Promise.<Buffer>
- Canvas
genBotVerifBadge ⇒ Promise.<Buffer>
Promise.<Buffer>
Generate the bot verification badge
Kind: global variable
Returns: Promise.<Buffer>
- Canvas
addShadow ⇒ Promise.<Buffer>
Promise.<Buffer>
Shadows for the canvas
Kind: global variable
Returns: Promise.<Buffer>
- Canvas
genXpBar(options) ⇒ Promise.<Buffer>
Promise.<Buffer>
Generate the experience bar
Kind: global function
Returns: Promise.<Buffer>
- Canvas
Last updated