Class 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
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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