Writing text vertically
Closed this issue · 1 comments
Cyberduke01 commented
Hi, I am trying to write text vertically.
Using rotate=90 as a parameter in the Text(as per the example below), turns every letter 90 degrees, but not the whole text.
d.append(draw.Text(text,textSize,label[0],label[1],rotate=90, fill='red'))
cduck commented
Use the transform
parameter with 'rotate(...)'
: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/transform