Open
Description
Code like this:
draw.Textpath("Some text here", "#topArc", `text-anchor="middle"`, `startOffset="50%"`, `font-size="25"`, `font-family='Salma Pro'`, `fill="black"`)
Results in this xml:
<text xmlns="http://www.w3.org/2000/svg" text-anchor="middle" startOffset="50%" font-size="25px" font-family="Salma Pro" fill="black">
<textPath xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#topArc">Some text here</textPath>
</text>
I want the text-anchor
and startOffset
fields to be on the <textPath>
tag instead of the <text>
tag. How would I make that happen? Is there a way to define the two tags separately?
Metadata
Metadata
Assignees
Labels
No labels