Class PixellatorPixerFactory
java.lang.Object
uk.ac.starlink.ttools.plot2.layer.PixellatorPixerFactory
Adapts a Pixellator to generate Pixer instances.
This is intended as a temporary measure; in due course all the
pixel iteration will be written as Pixer objects from scratch,
but this class is useful to adapt the functionality from the classic
plot classes.
- Since:
- 27 Nov 2013
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePixer
(Rectangle clip) Returns a pixel iterator for this factory intersected with a given clip region.
-
Constructor Details
-
PixellatorPixerFactory
Constructor.- Parameters:
pixellator
- pixellator
-
-
Method Details
-
createPixer
Returns a pixel iterator for this factory intersected with a given clip region. May return null in the case of no intersection.- Parameters:
clip
- clip region- Returns:
- new pixel iterator, or null
-