| java.lang.Object javax.media.jai.iterator.RectIterFactory
RectIterFactory | public class RectIterFactory (Code) | | A factory class to instantiate instances of the RectIter and
WritableRectIter interfaces on sources of type Raster,
RenderedImage, and WritableRenderedImage.
See Also: RectIter See Also: WritableRectIter |
Method Summary | |
public static RectIter | create(RenderedImage im, Rectangle bounds) Constructs and returns an instance of RectIter suitable
for iterating over the given bounding rectangle within the
given RenderedImage source. | public static RectIter | create(Raster ras, Rectangle bounds) Constructs and returns an instance of RectIter suitable
for iterating over the given bounding rectangle within the
given Raster source. | public static WritableRectIter | createWritable(WritableRenderedImage im, Rectangle bounds) Constructs and returns an instance of WritableRectIter suitable for
iterating over the given bounding rectangle within the given
WritableRenderedImage source. | public static WritableRectIter | createWritable(WritableRaster ras, Rectangle bounds) Constructs and returns an instance of WritableRectIter suitable for
iterating over the given bounding rectangle within the given
WritableRaster source. |
create | public static RectIter create(RenderedImage im, Rectangle bounds)(Code) | | Constructs and returns an instance of RectIter suitable
for iterating over the given bounding rectangle within the
given RenderedImage source. If the bounds parameter is null,
the entire image will be used.
Parameters: im - a read-only RenderedImage source. Parameters: bounds - the bounding Rectangle for the iterator, or null. a RectIter allowing read-only access to the source. |
create | public static RectIter create(Raster ras, Rectangle bounds)(Code) | | Constructs and returns an instance of RectIter suitable
for iterating over the given bounding rectangle within the
given Raster source. If the bounds parameter is null,
the entire Raster will be used.
Parameters: ras - a read-only Raster source. Parameters: bounds - the bounding Rectangle for the iterator, or null. a RectIter allowing read-only access to the source. |
createWritable | public static WritableRectIter createWritable(WritableRenderedImage im, Rectangle bounds)(Code) | | Constructs and returns an instance of WritableRectIter suitable for
iterating over the given bounding rectangle within the given
WritableRenderedImage source. If the bounds parameter is null,
the entire image will be used.
Parameters: im - a WritableRenderedImage source. Parameters: bounds - the bounding Rectangle for the iterator, or null. a WritableRectIter allowing read/write access to the source. |
createWritable | public static WritableRectIter createWritable(WritableRaster ras, Rectangle bounds)(Code) | | Constructs and returns an instance of WritableRectIter suitable for
iterating over the given bounding rectangle within the given
WritableRaster source. If the bounds parameter is null,
the entire Raster will be used.
Parameters: ras - a WritableRaster source. Parameters: bounds - the bounding Rectangle for the iterator, or null. a WritableRectIter allowing read/write access to the source. |
|
|