fix defaults for x any y (to be strings)
[PyX.git] / examples / text / textalongpath.txt
blobfbcfdc0a87c79f649d96f6d81e572432530de520
1 Text along path
3 In order to set text along a given path, you can use the `curvedtext()`
4 decorator. The example shows a few useful parameter settings for this
5 decorator.
7 ! To output just the curved text, but not the path, you can use the
8 draw method of the canvas instead of the stroke method. By that the
9 path is omitted in the output completely. In contrast, if you set the
10 linewidth to zero instead, the path will still be visible, as those
11 lines will be rendered as the thinnest available linewidth on the
12 output device according to the PostScript and PDF specification.