Changing HTML5 Canvas text span color
Is there a way to change the color of a span of text without having to start a new fillText?
The downside to starting a new fillText is that presumably I'l开发者_如何学JAVAl have to somehow calculate the position where the first ended to try to join the next bit of text.
I'm afraid there is no way to change the color without starting a new fillText in the current spec.
精彩评论