STATE are stored to URL hash to enable to compare
SVG renderer and Canvas renderer in
-cases.html
.
STATE:
text.rotation:
Start
Stop
0.5 * Math.PI
0.1 * Math.PI
-0.3 * Math.PI
Math.PI
Math.PI / 2
Math.PI * 3 / 2
Math.PI * 2
Remove
textConfig.rotation (expect higher precedence):
0.5 * Math.PI
0.1 * Math.PI
-0.3 * Math.PI
Math.PI
Math.PI / 2
Math.PI * 3 / 2
Math.PI * 2
Remove
text.style.backgroundColor:
Add
Remove
textConfig.distance(default 5):
15
0
-1
-20
Remove
textConfig.position:
[10, 20]
[-10, -20]
Remove
textConfig.offset:
[15, 25]
[-15, -25]
Remove
text.x, text.y (should no effect):
[15, 25]
[-15, -25]
Remove
text.scaleX, text.scaleY:
[2, 0.5]
[0.5, 2]
Remove
textConfig.local:
true
false
Remove
mainGroup.scale:
[1.5, 0.5]
[0.5, 1.5]
Remove
padding:
[10, 20, 30, 40]
5
10
[10, 0]
[0, 10]
50
Remove
text.style.borderColor/Width:
show
Remove
textAlign:
'left'
'center'
'right'
Remove
verticalAlign:
'top'
'middle'
'bottom'
Remove
Add '\n' at char index 3 (only for plain text rect):
Add
Remove
text string:
long text EN
long text ZH
short text ZH
medium text EN
Remove
text.style.overflow:
break
breakAll
truncate
none
Remove
text.style.lineOverflow:
truncate
undefined
Remove
Use clipPath on host:
true
Remove
textConfig.autoOverflowArea:
true
false
Remove