All Packages Class Hierarchy This Package Previous Next Index
Class ij.gui.PolygonRoi
java.lang.Object
|
+----ij.gui.Roi
|
+----ij.gui.PolygonRoi
- public class PolygonRoi
- extends Roi
Polygon region of interest or polyline of interest
-
g
-
-
nPoints
-
-
xp
-
-
xp2
-
-
yp
-
-
yp2
-
-
PolygonRoi(int, int, ImagePlus)
-
-
contains(int, int)
-
-
draw(Graphics)
-
-
drawPixels()
-
-
getAngle()
- Returns the angle in degrees between the first two segments of this polyline.
-
getLength()
- Returns the perimeter (for ROIs) or length (for lines).
-
getMask()
-
-
grow(int, int)
-
xp
protected int xp[]
yp
protected int yp[]
xp2
protected int xp2[]
yp2
protected int yp2[]
nPoints
protected int nPoints
g
protected Graphics g
PolygonRoi
public PolygonRoi(int ox,
int oy,
ImagePlus imp)
draw
public void draw(Graphics g)
- Overrides:
- draw in class Roi
drawPixels
public void drawPixels()
- Overrides:
- drawPixels in class Roi
grow
protected void grow(int x,
int y)
- Overrides:
- grow in class Roi
contains
public boolean contains(int x,
int y)
- Overrides:
- contains in class Roi
getMask
public int[] getMask()
- Overrides:
- getMask in class Roi
getLength
public double getLength()
- Returns the perimeter (for ROIs) or length (for lines).
- Overrides:
- getLength in class Roi
getAngle
public double getAngle()
- Returns the angle in degrees between the first two segments of this polyline.
All Packages Class Hierarchy This Package Previous Next Index