🎨Leaver
Leaver
Creador de tarjetas de despedida
Kind: global class
.avatar :
string
.titulo :
string
.subtitulo :
string
.colorTitulo :
string
.colorSubtitulo :
string
.colorCircle :
string
.colorOverlay :
number
|string
.opacityOverlay :
string
.typeOverlay :
string
.colorBackground :
string
.build(ops) ⇒
Promise.<Buffer>
new Leaver()
Leave image builder
Example
leaver.data
Fondo de la tarjeta
Kind: instance property of Leaver
Properties
leaver.avatar : string
string
Avatar de la tarjeta
Kind: instance property of Leaver
\
leaver.titulo : string
string
Título creado con Canvacard
Kind: instance property of Leaver
\
leaver.subtitulo : string
string
Subtítulo creado con Canvacard
Kind: instance property of Leaver
\
leaver.colorTitulo : string
string
Color del título creado con Canvacard
Kind: instance property of Leaver
\
leaver.colorSubtitulo : string
string
Color del Subtítulo creado con Canvacard
Kind: instance property of Leaver
\
leaver.colorCircle : string
string
Color del circulo
Kind: instance property of Leaver
\
leaver.colorOverlay : number
| string
number
| string
Color del overlay
Kind: instance property of Leaver
\
leaver.opacityOverlay : string
string
Opacidad del overlay
Kind: instance property of Leaver
\
leaver.typeOverlay : string
string
Tipo de overlay
Kind: instance property of Leaver
\
leaver.colorBackground : string
string
Color del fondo
Kind: instance property of Leaver
\
leaver.setColor(id, color) ⇒ Leaver
Leaver
Establecer color
Kind: instance method of Leaver
leaver.setAvatar(value) ⇒ Leaver
Leaver
Valor del avatar
Kind: instance method of Leaver
leaver.setTitulo(value) ⇒ Leaver
Leaver
Valor del título
Kind: instance method of Leaver
leaver.setSubtitulo(value) ⇒ Leaver
Leaver
Valor del subtítulo
Kind: instance method of Leaver
leaver.setColorTitulo(value) ⇒ Leaver
Leaver
Valor del color del título
Kind: instance method of Leaver
leaver.setColorSubtitulo(value) ⇒ Leaver
Leaver
Valor del color del subtítulo
Kind: instance method of Leaver
leaver.setColorCircle(value) ⇒ Leaver
Leaver
Valor del color del círculo
Kind: instance method of Leaver
leaver.setColorOverlay(value) ⇒ Leaver
Leaver
Valor del color del overlay
Kind: instance method of Leaver
leaver.setOpacityOverlay(value) ⇒ Leaver
Leaver
Valor del color del overlay
Kind: instance method of Leaver
leaver.setBackground(type, [data])
Establecer imagen / color de fondo
Kind: instance method of Leaver
leaver.setTypeOverlay(type)
Establecer rectangle / rounded de overlay
Kind: instance method of Leaver
leaver.build(ops) ⇒ Promise.<Buffer>
Promise.<Buffer>
Construye la tarjeta de despedida
Kind: instance method of Leaver
Last updated