STATE are stored to URL hash to enable to compare
SVG renderer and Canvas renderer in
-cases.html
.
STATE:
textRotation:
Start
Stop
0.1 * Math.PI
-0.3 * Math.PI
Remove
textOrigin:
'center'
[150, 70] (right-bottom-corner)
Remove
textBackground:
Add
Remove
textDistance:
15
-20
Remove
textPosition:
[10, 20]
[-10, -20]
Remove
textPadding:
[10, 20, 30, 40]
50
Remove
textAlign:
'left'
'center'
'right'
Remove
textVerticalAlign:
'top'
'middle'
'bottom'
Remove
transformText:
Enable
Remove
Add '\n' at char index 3 (only for red rect):
Add
Remove
Add truncate (only for red rect):
{outerWidth: 50, outerHeight: 40, ellipsis: '...'}
{outerWidth: 5, outerHeight: 20, ellipsis: '...', placeholder: '-'});
Remove