88899091929394
} BandedSampleModel sampleModel = new BandedSampleModel(dataType, w, h, scanlineStride, bankIndices, bandOffsets); return new OrdinaryWritableRaster(sampleModel, dataBuffer, location); }
230231232233234235236
PixelInterleavedSampleModel sampleModel = new PixelInterleavedSampleModel(dataType, w, h, pixelStride, scanlineStride, bandOffsets); return new OrdinaryWritableRaster(sampleModel, dataBuffer, location); }
359360361362363364365
SinglePixelPackedSampleModel sampleModel = new SinglePixelPackedSampleModel(dataType, w, h, scanlineStride, bandMasks); return new OrdinaryWritableRaster(sampleModel, dataBuffer, location); }
399400401402403404405
} MultiPixelPackedSampleModel sampleModel = new MultiPixelPackedSampleModel(dataType, w, h, bitsPerPixel); return new OrdinaryWritableRaster(sampleModel, dataBuffer, location); }
539540541542543544545
if (location == null) { location = new Point(0, 0); } return new OrdinaryWritableRaster(sm, db, location); }
658659660661662663664
+ sampleModelTranslateX, childTranslateY + sampleModelTranslateY), this); } public WritableRaster createCompatibleWritableRaster() { return new OrdinaryWritableRaster(sampleModel, new Point(0, 0)); }
664665666667668669670
} public WritableRaster createCompatibleWritableRaster(int w, int h) { SampleModel sm = sampleModel.createCompatibleSampleModel(w, h); return new OrdinaryWritableRaster(sm, new Point(0, 0)); }
61626364656667
} SinglePixelPackedSampleModel sampleModel = new SinglePixelPackedSampleModel( w, h, scanlineStride, bandMasks); return new OrdinaryWritableRaster(sampleModel, dataBuffer); }
104105106107108109110
height), this); } public static WritableRaster createWritableRaster(SampleModel sm, int[] db) { return new OrdinaryWritableRaster(sm, db); }
160161162163164165166
sampleModel.getWidth(), sampleModel.getHeight()), null); } public WritableRaster createCompatibleWritableRaster() { return new OrdinaryWritableRaster(sampleModel); }