能否支持颜色渐变
cuihj opened this issue · 4 comments
cuihj commented
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
liuyueyi commented
具体描述下,哪个插件支持颜色渐变,最好给一个示例
cuihj commented
liuyueyi commented
现在就支持通过背景图的方式来实现这个效果;即弄一个蓝绿三拼的颜色背景图,然后指定 BgStyle = QrCodeOptions.BgImgStyle.PENETRATE
即可实现类似的效果
- 2.x示例教程
- 3.x示例,教程还没写完,直接看源码吧: QrImgBgGenTest#penetrateBg
实际效果图如:
cuihj commented
谢谢