Package org.esa.snap.core.util
Interface ShapeRasterizer.LineRasterizer
- 
- All Known Implementing Classes:
- ShapeRasterizer.BresenhamLineRasterizer
 - Enclosing class:
- ShapeRasterizer
 
 public static interface ShapeRasterizer.LineRasterizerAn abstract representation of an algorithm used to rasterize lines.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrasterize(int x0, int y0, int x1, int y1, ShapeRasterizer.LinePixelVisitor visitor)Rasterizes a line by visiting all pixels between the two line end-points.
 
- 
- 
- 
Method Detail- 
rasterizevoid rasterize(int x0, int y0, int x1, int y1, ShapeRasterizer.LinePixelVisitor visitor)Rasterizes a line by visiting all pixels between the two line end-points.- Parameters:
- x0- x of the first end-point
- y0- y of the first end-point
- x1- x of the seconf end-point
- y1- y of the seconf end-point
- visitor- the pixel visitor
 
 
- 
 
-