Rectangle
may be returned if the destination is unaffected by the contents of the source rectangle. This is distinct from a null
return value which serves rather to indicate that it is not possible to determine the bounds of the affected region. The safest interpretation of a null
return value is that the entire destination might be affected by any pixel within the given source rectangle.
@param sourceRect The Rectangle
in source coordinates.
@param sourceIndex The index of the source image.
@return A Rectangle
indicating the potentiallyaffected destination region, or null
if the region is unknown.
@throws IllegalArgumentException If the source index isnegative or greater than that of the last source.
@throws IllegalArgumentException If sourceRect
isnull
.
|
|
|
|