Skip to content
Jim Pivarski edited this page Mar 15, 2015 · 1 revision
  1. summary Draw text at a given point in global coordinates
  2. labels Reference,Version1

_(This page applies only to the 1.x branch of SVGFig.)_

class !TextGlobal

Draws at text string at a specified point in global coordinates.

Arguments

  • !TextGlobal(x, y, d, attribute=value)*
x, y _*required*_ location of the point in global coordinates
d _*required*_ text/Unicode string
attribute=value pairs _keyword list_ SVG attributes

SVG method

!TextGlobal has an *SVG* method, as described in [GeneralPrimitive General features for all primitives].

Defaults

!TextGlobal has the following defaults, as described in [GeneralPrimitive General features for all primitives].

defaults {"stroke":"none", "fill":"black", "font-size":5}
Clone this wiki locally