Squiz Matrix
4.12.2
|
Public Member Functions | |
PolygonFiller () | |
PolygonFiller (int[] x, int[] y, int n) | |
void | setPolygon (int[] x, int[] y, int n) |
void | fill (ImageProcessor ip, Rectangle r) |
ImageProcessor | getMask (int width, int height) |
This class fills polygons using the scan-line filling algorithm described at "http://www.cs.rit.edu/~icss571/filling/".
Definition at line 9 of file PolygonFiller.java.
|
inline |
Constructs a PolygonFiller.
Definition at line 32 of file PolygonFiller.java.
|
inline |
Constructs a PolygonFiller using the specified polygon.
Definition at line 36 of file PolygonFiller.java.
|
inline |
Fills the polygon using the ImageProcessor's current drawing color.
Definition at line 103 of file PolygonFiller.java.
|
inline |
Returns a byte mask containing a filled version of the polygon.
Definition at line 108 of file PolygonFiller.java.
|
inline |
Specifies the polygon to be filled.
Definition at line 41 of file PolygonFiller.java.