mirror of
https://github.com/wassname/CanvasTextWrapper.git
synced 2026-06-28 04:19:57 +08:00
36 lines
928 B
JavaScript
36 lines
928 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'
|
|
},
|
|
{
|
|
font: 'bold 50px Tahoma, Geneva, sans-serif',
|
|
textAlign: 'right',
|
|
paddingX: 25,
|
|
paddingY: 25
|
|
},
|
|
{
|
|
textAlign: 'center',
|
|
verticalAlign: 'middle',
|
|
//lineBreak: 'word',
|
|
sizeToFill: true
|
|
}
|
|
];
|
|
})(); |