🖼️Canvas

Members

generateBadgesCanvasPromise.<Buffer>

Generate the badge canvas

genBasePromise.<Buffer>

Generate the card background

genFramePromise.<Buffer>

Generate the card frame

genBorderPromise.<Buffer>

Generate the edges of the card with a multi-color gradient

genTextAndAvatarPromise.<Buffer>

Generate the card text and avatar

genAvatarFramePromise.<Buffer>

This function generates the avatar frame

cutAvatarStatusPromise.<Buffer>

This function cuts the presence status on the card

genStatusPromise.<Buffer>

Sets the presence status on the card

genBotVerifBadgePromise.<Buffer>

Generate the bot verification badge

addShadowPromise.<Buffer>

Shadows for the canvas

Functions

genXpBar(options)Promise.<Buffer>

Generate the experience bar

generateBadgesCanvas ⇒ Promise.<Buffer>

Generate the badge canvas

Kind: global variable Returns: Promise.<Buffer> - Canvas

genBase ⇒ Promise.<Buffer>

Generate the card background

Kind: global variable Returns: Promise.<Buffer> - Canvas

genFrame ⇒ Promise.<Buffer>

Generate the card frame

Kind: global variable Returns: Promise.<Buffer> - Canvas

genBorder ⇒ Promise.<Buffer>

Generate the edges of the card with a multi-color gradient

Kind: global variable Returns: Promise.<Buffer> - Canvas

genTextAndAvatar ⇒ Promise.<Buffer>

Generate the card text and avatar

Kind: global variable

genAvatarFrame ⇒ Promise.<Buffer>

This function generates the avatar frame

Kind: global variable Returns: Promise.<Buffer> - Canvas

cutAvatarStatus ⇒ Promise.<Buffer>

This function cuts the presence status on the card

Kind: global variable Returns: Promise.<Buffer> - Canvas

genStatus ⇒ Promise.<Buffer>

Sets the presence status on the card

Kind: global variable Returns: Promise.<Buffer> - Canvas

genBotVerifBadge ⇒ Promise.<Buffer>

Generate the bot verification badge

Kind: global variable Returns: Promise.<Buffer> - Canvas

addShadow ⇒ Promise.<Buffer>

Shadows for the canvas

Kind: global variable Returns: Promise.<Buffer> - Canvas

genXpBar(options) ⇒ Promise.<Buffer>

Generate the experience bar

Kind: global function Returns: Promise.<Buffer> - Canvas

Last updated