开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜