MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / TextRoi

Method TextRoi

ij/src/main/java/ij/gui/TextRoi.java:50–52  ·  view source on GitHub ↗

Creates a TextRoi using the defaultFont.

(int x, int y, String text)

Source from the content-addressed store, hash-verified

48
49 /** Creates a TextRoi using the defaultFont.*/
50 public TextRoi(int x, int y, String text) {
51 this(x, y, text, defaultFont);
52 }
53
54 /** Use this constructor as a drop-in replacement for ImageProcessor.drawString(). */
55 public TextRoi(String text, double x, double y, Font font) {

Callers

nothing calls this directly

Calls 14

initMethod · 0.95
getFontGraphicsMethod · 0.95
errorMethod · 0.95
getForegroundColorMethod · 0.95
getWindowMethod · 0.95
setAngleMethod · 0.95
setAntiAliasMethod · 0.80
getFontMetricsMethod · 0.45
getFloatBoundsMethod · 0.45
setBoundsMethod · 0.45
getCanvasMethod · 0.45
getMagnificationMethod · 0.45

Tested by

no test coverage detected