GC.copyArea

Copies a rectangular area of the receiver at the source position onto the receiver at the destination position.

@param srcX the x coordinate in the receiver of the area to be copied @param srcY the y coordinate in the receiver of the area to be copied @param width the width of the area to copy @param height the height of the area to copy @param destX the x coordinate in the receiver of the area to copy to @param destY the y coordinate in the receiver of the area to copy to @param paint if <code>true</code> paint events will be generated for old and obscured areas

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

@since 3.1

  1. void copyArea(Image image, int x, int y)
  2. void copyArea(int srcX, int srcY, int width, int height, int destX, int destY)
  3. void copyArea(int srcX, int srcY, int width, int height, int destX, int destY, bool paint)
    class GC
    void
    copyArea
    (
    int srcX
    ,
    int srcY
    ,
    int width
    ,
    int height
    ,
    int destX
    ,
    int destY
    ,
    bool paint
    )

Meta