Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.astro.louisville.edu/software/astroimagej/imagej/api/ij/process/PolygonFiller.html
Дата изменения: Thu Dec 2 23:03:11 2010 Дата индексирования: Mon Oct 1 22:45:39 2012 Кодировка: Поисковые слова: http www.astronet.ru |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ij.process.PolygonFiller
public class PolygonFiller
This class fills polygons using the scan-line filling algorithm described at "http://www.cs.rit.edu/~icss571/filling/".
Constructor Summary | |
---|---|
PolygonFiller()
Constructs a PolygonFiller. |
|
PolygonFiller(int[] x,
int[] y,
int n)
Constructs a PolygonFiller using the specified polygon. |
Method Summary | |
---|---|
void |
fill(ImageProcessor ip,
java.awt.Rectangle r)
Fills the polygon using the ImageProcessor's current drawing color. |
ImageProcessor |
getMask(int width,
int height)
Returns a byte mask containing a filled version of the polygon. |
void |
setPolygon(int[] x,
int[] y,
int n)
Specifies the polygon to be filled. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PolygonFiller()
public PolygonFiller(int[] x, int[] y, int n)
Method Detail |
---|
public void setPolygon(int[] x, int[] y, int n)
public void fill(ImageProcessor ip, java.awt.Rectangle r)
public ImageProcessor getMask(int width, int height)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |