Can I customize a color gradient link
liuguanyu opened this issue · 2 comments
liuguanyu commented
vasturiano commented
@liuguanyu you can use linkCanvasObject
to customize the style of your links in whichever way you'd like. For example to add a gradient to the line. Essentially you issue canvas paint commands, so if something is possible in canvas it should be possible here.
You can look into createLinearGradient to achieve this.
liuguanyu commented
@liuguanyu you can use
linkCanvasObject
to customize the style of your links in whichever way you'd like. For example to add a gradient to the line. Essentially you issue canvas paint commands, so if something is possible in canvas it should be possible here.You can look into createLinearGradient to achieve this.
Thanks