public class FillPixer extends Object implements Pixer
Constructor and Description |
---|
FillPixer(int[] xs,
int[] ys,
int np,
Rectangle bounds)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getX()
Returns the X coordinate of the current point.
|
int |
getY()
Returns the Y coordinate of the current point.
|
boolean |
next()
Advances to the next point to be dispensed by this iterator.
|
public FillPixer(int[] xs, int[] ys, int np, Rectangle bounds)
xs
- np-element array giving graphics X vertex coordinatesys
- np-element array giving graphics Y vertex coordinatesnp
- number of verticesbounds
- actual bounds within which pixels are required,
or null for all pixelsCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.