image

Details

Methods


<static> exports.getThumbail( text [, option ] ) → {Promise.<string>}

Parameters
Name Type Attributes Description
text string
option ThumbailOption <optional>
Returns

Return the path to the file

Type Definitions


ThumbailOption

Properties
Name Type Attributes Default Description
width number <optional>
1920
height number <optional>
1920
textSize number <optional>
1000
backgroundColor string <optional>
'rgba(5,5,5,1)'
textColor string <optional>
'rgba(255,255,255,1)'