|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jaitools.imageutils.FloodFiller.ScanSegment
public static class FloodFiller.ScanSegment
Records a segment of contiguous pixels in a single row that will become part of a filled region.
| Constructor Summary | |
|---|---|
FloodFiller.ScanSegment(int startX,
int endX,
int y)
Creates a new segment. |
|
| Method Summary | |
|---|---|
int |
compareTo(FloodFiller.ScanSegment other)
Compares this segment to another. |
boolean |
contains(int x,
int y)
Checks if the given location lies within this segment. |
boolean |
equals(Object obj)
|
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FloodFiller.ScanSegment(int startX,
int endX,
int y)
startX - start X ordinateendX - end X ordinatey - Y ordinate| Method Detail |
|---|
public boolean contains(int x,
int y)
x - location X ordinatey - location Y ordinate
public int compareTo(FloodFiller.ScanSegment other)
compareTo in interface Comparable<FloodFiller.ScanSegment>other - the other segmentpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||