mirror of
https://github.com/wassname/CanvasTextWrapper.git
synced 2026-07-02 06:08:01 +08:00
36 lines
934 B
JavaScript
36 lines
934 B
JavaScript
(function() {
|
|
window.optionsArr = [
|
|
{
|
|
font: 'bold 55px Open Sans, sans-serif'
|
|
},
|
|
{
|
|
font: 'normal 40px Impact, Charcoal, sans-serif',
|
|
textAlign: 'center',
|
|
paddingY: 10,
|
|
lineBreak: 'word'
|
|
},
|
|
{
|
|
font: 'bold 55px Open Sans, sans-serif',
|
|
textAlign: 'right',
|
|
verticalAlign: 'bottom',
|
|
paddingX: 30
|
|
},
|
|
{
|
|
font: 'bold 35px Verdana, Geneva, sans-serif',
|
|
textAlign: 'center',
|
|
verticalAlign: 'middle'
|
|
},
|
|
{
|
|
textAlign: 'center',
|
|
verticalAlign: 'middle',
|
|
sizeToFill: true
|
|
},
|
|
{
|
|
font: 'bold 50px Tahoma, Geneva, sans-serif',
|
|
textAlign: 'right',
|
|
paddingX: 25,
|
|
paddingY: 25,
|
|
strokeText: true
|
|
},
|
|
];
|
|
})(); |