[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
7.22 labelpath
This module uses the PSTricks
pstextpath
macro to fit labels
along a path (properly kerned, as illustrated in the example file
curvedlabel.asy
), using the command
void labelpath(picture pic=currentpicture, Label L, path g, string justify=Centered, pen p=currentpen);
Here justify
is one of LeftJustified
, Centered
, or
RightJustified
. The x component of a shift transform
applied to the Label is interpreted as a shift along the curve, whereas
the y component is interpreted as a shift away from the curve.
All other Label transforms are ignored. This package requires the
latex
tex engine and inherits the limitations of the
PSTricks
\pstextpath
macro.