public class PointArrayPixellator extends Object implements Pixellator
Point objects.
 This implementation is designed to be particularly efficient for
 iterating over.| Constructor and Description | 
|---|
PointArrayPixellator(Point[] points)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Rectangle | 
getBounds()
Returns a copy of the bounding rectangle for this pixellator. 
 | 
int | 
getX()
Returns the X value for the current point. 
 | 
int | 
getY()
Returns the Y value for the current point. 
 | 
boolean | 
next()
Moves to the next point in the sequence. 
 | 
void | 
start()
Makes this object ready to iterate. 
 | 
public PointArrayPixellator(Point[] points)
points - array of points to iterate overpublic Rectangle getBounds()
Pixellatornull may be returned.getBounds in interface Pixellatorpublic void start()
PixellatorPixellator.next().start in interface Pixellatorpublic boolean next()
PixellatorPixellator.getX()/Pixellator.getY().  Returns value indicates whether
 there is a next point.next in interface Pixellatorpublic int getX()
PixellatorgetX in interface Pixellatorpublic int getY()
PixellatorgetY in interface PixellatorCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.