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. If <code>isTransparent</code> is <code>true</code>, then the background of the rectangular area where the str is being drawn will not be modified, otherwise it 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 @param isTransparent if <code>true</code> the background will be transparent, otherwise it will be opaque

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

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

Meta