mirror of
https://github.com/wassname/CanvasTextWrapper.git
synced 2026-09-10 11:40:42 +08:00
v0.1.0
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
(function() {
|
||||
window.optionsArr = [
|
||||
{
|
||||
font: 'bold 55px Open Sans, sans-serif',
|
||||
paddingX: 0,
|
||||
paddingY: 0,
|
||||
fitParent: false,
|
||||
lineBreak: 'auto'
|
||||
},
|
||||
{
|
||||
font: 'normal 40px Open Sans, sans-serif',
|
||||
textAlign: 'center',
|
||||
verticalAlign: 'top',
|
||||
paddingY: 10,
|
||||
lineBreak: 'word'
|
||||
},
|
||||
{
|
||||
font: 'bold 55px Open Sans, sans-serif',
|
||||
textAlign: 'right',
|
||||
verticalAlign: 'bottom',
|
||||
paddingX: 30
|
||||
},
|
||||
{
|
||||
font: 'bold 35px Open Sans, sans-serif',
|
||||
textAlign: 'center',
|
||||
verticalAlign: 'middle'
|
||||
},
|
||||
{
|
||||
font: 'bold 55px Open Sans, sans-serif',
|
||||
textAlign: 'right',
|
||||
verticalAlign: 'top',
|
||||
paddingX: 15,
|
||||
paddingY: 5
|
||||
},
|
||||
{
|
||||
font: 'bold 45px Open Sans, sans-serif',
|
||||
textAlign: 'center',
|
||||
verticalAlign: 'middle',
|
||||
lineBreak: 'word'
|
||||
},
|
||||
{
|
||||
font: 'bold 25px Open Sans, sans-serif',
|
||||
verticalAlign: 'bottom',
|
||||
paddingX: 10,
|
||||
paddingY: 60
|
||||
},
|
||||
{
|
||||
font: '50px Open Sans, sans-serif',
|
||||
textAlign: 'right',
|
||||
verticalAlign: 'middle',
|
||||
paddingX: 15
|
||||
}
|
||||
];
|
||||
})();
|
||||
Reference in New Issue
Block a user