src/share/classes/java/awt/image/WritableRaster.java

Print this page

        

*** 392,402 **** * each source sample is cast to the destination type. When copying an * integral type source to a float or double destination, the source * is first converted to a 32-bit int (if necessary), using the above * rules for integral types, and then the int is cast to float or * double. ! * <p> * @param srcRaster The Raster from which to copy pixels. * * @throws NullPointerException if srcRaster is null. */ public void setRect(Raster srcRaster) { --- 392,402 ---- * each source sample is cast to the destination type. When copying an * integral type source to a float or double destination, the source * is first converted to a 32-bit int (if necessary), using the above * rules for integral types, and then the int is cast to float or * double. ! * * @param srcRaster The Raster from which to copy pixels. * * @throws NullPointerException if srcRaster is null. */ public void setRect(Raster srcRaster) {