draw.Drawing

Methods

Method Reference: draw.Drawing.text

draw.Drawing: D = text (D, P, S)
draw.Drawing: D = text (D, P, S, H)
draw.Drawing: D = text (D, P, S, H, ROT)

Append the single-line text S with its insertion point at P.

H is the cap height in millimetres and defaults to 2.5, the smallest of the ISO 3098 sizes and the usual height for notes on a drawing at 1:50. ROT rotates the text about its insertion point, in degrees counter-clockwise, and defaults to zero.

The text is stored as given. No backend measures it, so a drawing knows where its text starts but not how wide it ends up.

Source Code: draw.Drawing