-
Notifications
You must be signed in to change notification settings - Fork 10
ClassText
Jim Pivarski edited this page Mar 15, 2015
·
1 revision
- summary Draw text at a given point in local coordinates
- labels Reference,Version1
_(This page applies only to the 1.x branch of SVGFig.)_
Draws at text string at a specified point in local coordinates.
- Text(x, y, d, attribute=value)*
| x, y | _*required*_ | location of the point in local coordinates | ||||
| d | _*required*_ | text/Unicode string | ||||
| attribute=value pairs | _keyword list_ | SVG attributes |
Text has an *SVG* method, as described in [GeneralPrimitive General features for all primitives].
Text has the following defaults, as described in [GeneralPrimitive General features for all primitives].
| defaults | {"stroke":"none", "fill":"black", "font-size":5} |