vmd.graphics.text

vmd.graphics.text()

Draw text

Parameters:
  • molid (int) – Molecule ID to draw on
  • position (3-tuple of float) – (x,y,z) coordinates to center text on
  • text (str) – Text to display
  • size (float) – Text size. Defaults to 1.0
  • width (float) – Text width. Defaults to 1.0
Returns:

(int) – ID of drawn text