leafer-ui
leafer-ui copied to clipboard
shadow圆角问题
// #创建 Text [标准创建 (Leafer)]
import { Leafer, Text } from 'leafer-ui'
const leafer = new Leafer({ view: window })
const text = new Text({
fill: '#eee',
fontSize: 50,
text: '电棍笑传之踩踩背',
textWrap: 'break',
fontWeight: 600,
stroke: {
type: 'solid',
color: '#000',
},
strokeJoin: 'round',
strokeWidth: 3,
shadow: {
x: 0,
y: 6,
blur: 0,
color: '#000',
box: true
}
})
leafer.add(text)
环境:手机 + edge 137 + 安卓15
给文字设置描边圆角之后,使用shadow发现shadow无法跟随描边一起圆角还是直角 详细看上面的最后一个图片的文字的shadow
收到,谢谢反馈~
收到,谢谢反馈~
换成红色更明显了,shadow没办法跟随描边圆润,“踩踩”两字下面的笔画是直的
1.8.0已修复