dx
and dy
. From the point specified by x
and y
, this method copies downwards and to the right. To copy an area of the component to the left or upwards, specify a negative value for dx
or dy
. If a portion of the source rectangle lies outside the bounds of the component, or is obscured by another window or component, copyArea
will be unable to copy the associated pixels. The area that is omitted can be refreshed by calling the component's paint
method.
@param x the x coordinate of the source rectangle.
@param y the y coordinate of the source rectangle.
@param width the width of the source rectangle.
@param height the height of the source rectangle.
@param dx the horizontal distance to copy the pixels.
@param dy the vertical distance to copy the pixels.
|
|
|
|
|
|
|
|
|
|
|
|
|
|