org.esa.beam.util
Interface ShapeRasterizer.LineRasterizer
- All Known Implementing Classes:
- ShapeRasterizer.BresenhamLineRasterizer
- Enclosing class:
- ShapeRasterizer
public static interface ShapeRasterizer.LineRasterizer
An abstract representation of an algorithm used to rasterize lines.
rasterize
void 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-pointy0 - y of the first end-pointx1 - x of the seconf end-pointy1 - y of the seconf end-pointvisitor - the pixel visitor
Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.