Releases: ecomfe/zrender
Releases · ecomfe/zrender
4.0.0
3.7.4
3.7.3
3.7.2
v3.7.2
2017-11-10
- [^] Fixed backward compatibility problems brounght by
3.8.0: In3.8.0, the content inlibdirectory is the same as the content insrcdirectory (both are ES Module), which may not compatible with the old verisons of node and webpack. So rollback to commonJS format inlibof3.8.2. - [^] Fixed the problem that SVG renderer throws error when encounter null value.
3.7.0
3.6.3
3.6.2
3.6.1
3.6.0
v3.6.0
2017-08-22
[+] Support rich text, including:
- style.textFill
- style.textStroke
- style.textWidth
- style.textHeight
- style.textLineWidth
- style.textLineHeight
- style.textPosition
- style.textPositionRect
- style.textOffset
- style.textAlign
- style.textVerticalAlign
- style.textDistance
- style.textShadowColor
- style.textShadowBlur
- style.textShadowOffsetX
- style.textShadowOffsetY
- style.textBoxShadowColor
- style.textBoxShadowBlur
- style.textBoxShadowOffsetX
- style.textBoxShadowOffsetY
- style.transformText
- style.textRotation
- style.textOrigin
- style.textBackgroundColor
- style.textBorderColor
- style.textBorderWidth
- style.textBorderRadius
- style.textPadding
- style.rich
[Break change]:
The styles in Text element should use prefix "text".
var text = new Text({
style: {
textFill: 'red',
textStroke: 'blue'
}
})The original "fill", "stroke" is not supported in Text element any more.