org.shapelogic.imageutil
Interface PixelHandlerEnds

All Superinterfaces:
PixelHandler

public interface PixelHandlerEnds
extends PixelHandler

PixelHandler with hooks for calling method at the beginning and ends of each line.

Author:
Sami Badawi

Method Summary
 void handlePixelEnd(int x, int y, int color)
          Handle a pixel with a color and a coordinate.
 void handlePixelStart(int x, int y, int color)
          Handle a pixel with a color and a coordinate.
 void postProcess()
          Called after scan of the image.
 void setup()
          Called before starting to scan the image.
 
Methods inherited from interface org.shapelogic.imageutil.PixelHandler
putPixel
 

Method Detail

setup

void setup()
Called before starting to scan the image.


handlePixelStart

void handlePixelStart(int x,
                      int y,
                      int color)
Handle a pixel with a color and a coordinate.


handlePixelEnd

void handlePixelEnd(int x,
                    int y,
                    int color)
Handle a pixel with a color and a coordinate.


postProcess

void postProcess()
Called after scan of the image.



Copyright © 2008. All Rights Reserved.