I am now using KonvaJS.
I know Text
draws text. But it accepts only one style.
Here's my code to render text.
And I want to make Konva
color to red
and others green
.
You can do live coding here
I am now using KonvaJS.
I know Text
draws text. But it accepts only one style.
Here's my code to render text.
And I want to make Konva
color to red
and others green
.
You can do live coding here
Currently, that is not possible with Konva
. To resolve your issue you can:
Konva.Text
with different stylesKonva.Shape
and draw all text manually with native canvas access