GC.drawText

Draws the given str, using the receiver's current font and foreground color. Tab expansion and carriage return processing are performed. The background of the rectangular area where the text is being drawn will be filled with the receiver's background color.

@param str the str to be drawn @param x the x coordinate of the top left corner of the rectangular area where the text is to be drawn @param y the y coordinate of the top left corner of the rectangular area where the text is to be drawn

@exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>

  1. void drawText(String str, int x, int y)
    class GC
    void
    drawText
    (
    String str
    ,
    int x
    ,
    int y
    )
  2. void drawText(String str, int x, int y, bool isTransparent)
  3. void drawText(String str, int x, int y, int flags)

Meta