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