o2team.github.io
o2team.github.io copied to clipboard
图形处理:给 Canvas 文本填充线性渐变
https://aotu.io/notes/2020/06/22/linearGradient/index.html
在 Canvas 中对文本填充水平或垂直的线性渐变可以轻易实现,而带角度的渐变就复杂很多。