GC.drawString

Draws the given str, using the receiver's current font and foreground color. No tab expansion or carriage return processing will be performed. The background of the rectangular area where the str 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 str is to be drawn @param y the y coordinate of the top left corner of the rectangular area where the str is to be drawn

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

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

Meta