GC.copyArea
- void copyArea(Image image, int x, int y)
- void copyArea(int srcX, int srcY, int width, int height, int destX, int destY)
- void copyArea(int srcX, int srcY, int width, int height, int destX, int destY, bool paint)
orgeclipseswtgraphicsGCGC
constructorsfunctionsvariables
Copies a rectangular area of the receiver at the specified position into the image, which must be of type <code>SWT.BITMAP</code>.
@param image the image to copy into @param x the x coordinate in the receiver of the area to be copied @param y the y coordinate in the receiver of the area to be copied
@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the image is null</li> <li>ERROR_INVALID_ARGUMENT - if the image is not a bitmap or has been disposed</li> </ul> @exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>