Closed hubenchang0515 closed 6 months ago
You see the text is a node nested in textPath
; it is not an attribute. So you need to append it to your test_path
. However, we provide an argument to new
in such cases, and this one was missed. Fixed. Please try with TextPath::new("Quick brown fox jumps over the lazy dog.")
.
The
<textPath>
element cannot set inner textthe
<textPath>
should look like this: