Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
そのようにRaphaelテキストをインスタンス化した後
var t = paper.text(50, 50, "Raphaël\nkicks\nbutt!");
そのテキストを変更するにはどうすればよいですか?
t.text = "test";私にはうまくいきませんでした。
t.text = "test";
既存のテキスト要素のテキストを変更するには、 .attr()docsメソッドを使用する必要があります
.attr()
このような
t.attr('text','new text here');