.. _ScriptUIGraphics.drawString: ================================================ ScriptUIGraphics.drawString ================================================ void **drawString** (:ref:`String` **text**, :ref:`ScriptUIPen` **pen**, :ref:`Number` **x**, :ref:`Number` **y**, :ref:`ScriptUIFont` **font**) Parameters ---------- +----------+--------------------------------------------------------------+ | **text** | The text string. | +----------+--------------------------------------------------------------+ | **pen** | The drawing pen to use. | +----------+--------------------------------------------------------------+ | **x** | The left coordinate, relative to the origin of this element. | +----------+--------------------------------------------------------------+ | **y** | The top coordinate, relative to the origin of this element. | +----------+--------------------------------------------------------------+ | **font** | The font to use. Default is the ?font?value in this object. | +----------+--------------------------------------------------------------+ Description ----------- Draw a string of text starting at a given point in this element, using a given drawing pen and font.