Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.astro.louisville.edu/software/astroimagej/imagej/api/ij/gui/Arrow.html
Дата изменения: Thu Dec 2 23:03:10 2010 Дата индексирования: Mon Oct 1 21:34:52 2012 Кодировка: Поисковые слова: п п р п р п р п р п п р п п р п п р п п р п п р п п р п п р п п р п п р п п р п |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectij.gui.Roi
ij.gui.Line
ij.gui.Arrow
public class Arrow
This is an Roi subclass for creating and displaying arrows.
Field Summary | |
---|---|
static java.lang.String |
DOUBLE_HEADED_KEY
|
static int |
FILLED
|
static int |
NOTCHED
|
static int |
OPEN
|
static java.lang.String |
SIZE_KEY
|
static java.lang.String |
STYLE_KEY
|
static java.lang.String[] |
styles
|
static java.lang.String |
WIDTH_KEY
|
Fields inherited from class ij.gui.Line |
---|
x1, x1d, x1R, x2, x2d, x2R, y1, y1d, y1R, y2, y2d, y2R |
Fields inherited from class ij.gui.Roi |
---|
ANGLE, asp_bk, aspect, cachedMask, center, clipboard, clipHeight, clipWidth, clipX, clipY, COMPOSITE, constrain, CONSTRUCTING, defaultFillColor, fillColor, FREELINE, FREEROI, HANDLE_SIZE, handleColor, ic, imp, instanceColor, LINE, lineWidth, mag, MOVING, MOVING_HANDLE, name, nonScalable, NORMAL, NOT_PASTING, oldHeight, oldWidth, oldX, oldY, onePixelWide, OVAL, overlay, pasteMode, POINT, POLYGON, POLYLINE, previousRoi, RECTANGLE, RESIZING, ROIColor, stroke, strokeColor, TRACED_ROI, type, updateFullWindow, wideLine, xMax, yMax |
Constructor Summary | |
---|---|
Arrow(double ox1,
double oy1,
double ox2,
double oy2)
|
|
Arrow(int sx,
int sy,
ImagePlus imp)
|
Method Summary | |
---|---|
protected int |
clipRectMargin()
|
void |
draw(java.awt.Graphics g)
Draws this arrow on the image. |
void |
drawPixels(ImageProcessor ip)
Draws the selection outline on the specified ImageProcessor. |
static boolean |
getDefaultDoubleHeaded()
|
static double |
getDefaultHeadSize()
|
static int |
getDefaultStyle()
|
static double |
getDefaultWidth()
|
boolean |
getDoubleHeaded()
|
double |
getHeadSize()
|
int |
getStyle()
|
boolean |
isDrawingTool()
Returns 'true' if this is an ROI primarily used from drawing (e.g., Rounded Rectangle, TextRoi or Arrow). |
static void |
setDefaultDoubleHeaded(boolean b)
|
static void |
setDefaultHeadSize(double size)
|
static void |
setDefaultStyle(int style)
|
static void |
setDefaultWidth(double width)
|
void |
setDoubleHeaded(boolean b)
|
void |
setHeadSize(double headSize)
|
void |
setStyle(int style)
|
Methods inherited from class ij.gui.Line |
---|
contains, getBounds, getLength, getPixels, getPolygon, getRawLength, getWidth, grow, isHandle, mouseDownInHandle, moveHandle, nudgeCorner, setStrokeWidth, setWidth |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STYLE_KEY
public static final java.lang.String WIDTH_KEY
public static final java.lang.String SIZE_KEY
public static final java.lang.String DOUBLE_HEADED_KEY
public static final int FILLED
public static final int NOTCHED
public static final int OPEN
public static final java.lang.String[] styles
Constructor Detail |
---|
public Arrow(double ox1, double oy1, double ox2, double oy2)
public Arrow(int sx, int sy, ImagePlus imp)
Method Detail |
---|
public void draw(java.awt.Graphics g)
draw
in class Line
public void drawPixels(ImageProcessor ip)
Roi
drawPixels
in class Line
ImageProcessor.setColor(java.awt.Color)
,
ImageProcessor.setLineWidth(int)
protected int clipRectMargin()
clipRectMargin
in class Line
public boolean isDrawingTool()
Roi
isDrawingTool
in class Roi
public static void setDefaultWidth(double width)
public static double getDefaultWidth()
public void setStyle(int style)
public int getStyle()
public static void setDefaultStyle(int style)
public static int getDefaultStyle()
public void setHeadSize(double headSize)
public double getHeadSize()
public static void setDefaultHeadSize(double size)
public static