Squiz Matrix
4.12.2
|
Public Member Functions | |
TextRoi (int x, int y, ImagePlus imp) | |
void | addChar (char c) |
void | drawPixels () |
void | draw (Graphics g) |
Public Member Functions inherited from Roi | |
Roi (int x, int y, int width, int height) | |
Roi (int x, int y, ImagePlus imp) | |
Roi (int x, int y, int width, int height, ImagePlus imp) | |
void | setLocation (int x, int y) |
void | setImage (ImagePlus imp) |
int | getType () |
int | getState () |
double | getLength () |
double | getFeretsDiameter () |
Rectangle | getBounds () |
Rectangle | getBoundingRect () |
Polygon | getPolygon () |
synchronized Object | clone () |
void | nudge (int key) |
void | nudgeCorner (int key) |
void | draw (Graphics g) |
void | drawPixels () |
boolean | contains (int x, int y) |
int | isHandle (int sx, int sy) |
void | modifyRoi () |
ImageProcessor | getMask () |
void | endPaste () |
void | abortPaste () |
double | getAngle (int x1, int y1, int x2, int y2) |
String | getName () |
void | setName (String name) |
int | getPasteMode () |
boolean | isArea () |
String | getTypeAsString () |
String | toString () |
Static Public Member Functions | |
static String | getFont () |
static int | getSize () |
static int | getStyle () |
static void | setFont (String fontName, int fontSize, int fontStyle) |
Static Public Member Functions inherited from Roi | |
static Color | getColor () |
static void | setColor (Color c) |
static void | setPasteMode (int transferMode) |
static int | getCurrentPasteMode () |
Protected Member Functions | |
void | handleMouseUp (int screenX, int screenY) |
Protected Member Functions inherited from Roi | |
void | grow (int xNew, int yNew) |
void | moveHandle (int ox, int oy) |
void | updateClipRect () |
void | handleMouseDrag (int sx, int sy, int flags) |
void | mouseDownInHandle (int handle, int sx, int sy) |
void | handleMouseDown (int sx, int sy) |
void | handleMouseUp (int screenX, int screenY) |
void | showStatus () |
Additional Inherited Members | |
Static Public Attributes inherited from Roi | |
static final int | CONSTRUCTING =0 |
static final int | RECTANGLE =0 |
static final int | HANDLE_SIZE = 5 |
static final int | NOT_PASTING = -1 |
static Roi | previousRoi |
Protected Attributes inherited from Roi | |
int | type |
int | xMax |
ImagePlus | imp |
ImageCanvas | ic |
int | oldX |
int | clipX |
ImagePlus | clipboard |
boolean | constrain |
boolean | center |
boolean | updateFullWindow |
double | mag = 1.0 |
String | name |
ImageProcessor | cachedMask |
Static Protected Attributes inherited from Roi | |
static Color | ROIColor = Prefs.getColor(Prefs.ROICOLOR,Color.yellow) |
static int | pasteMode = Blitter.COPY |
This class is a rectangular ROI containing text.
Definition at line 9 of file TextRoi.java.
|
inline |
Adds the specified character to the end of the text string.
Definition at line 40 of file TextRoi.java.
|
inline |
Draws the text on the screen, clipped to the ROI.
Definition at line 105 of file TextRoi.java.
|
inline |
Renders the text on the image.
Definition at line 85 of file TextRoi.java.
|
inlinestatic |
Returns the name of the current font.
Definition at line 142 of file TextRoi.java.
|
inlinestatic |
Returns the current font size.
Definition at line 147 of file TextRoi.java.
|
inlinestatic |
Returns the current font style.
Definition at line 152 of file TextRoi.java.
|
inlinestatic |
Sets the font face, size and style.
Definition at line 157 of file TextRoi.java.