public static interface ShapeRasterizer.LineRasterizer
| Modifier and Type | Method and Description |
|---|---|
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.
|
void rasterize(int x0,
int y0,
int x1,
int y1,
ShapeRasterizer.LinePixelVisitor visitor)
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 visitorCopyright © 2014–2017 European Space Agency (ESA). All rights reserved.