Class PixellatorPixerFactory
- java.lang.Object
-
- uk.ac.starlink.ttools.plot2.layer.PixellatorPixerFactory
-
public class PixellatorPixerFactory extends java.lang.Object
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 Constructor Description PixellatorPixerFactory(Pixellator pixellator)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pixer
createPixer(java.awt.Rectangle clip)
Returns a pixel iterator for this factory intersected with a given clip region.
-
-
-
Constructor Detail
-
PixellatorPixerFactory
public PixellatorPixerFactory(Pixellator pixellator)
Constructor.- Parameters:
pixellator
- pixellator
-
-
Method Detail
-
createPixer
public Pixer createPixer(java.awt.Rectangle clip)
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
-
-