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

Method Roi

ij/src/main/java/ij/gui/Roi.java:166–168  ·  view source on GitHub ↗

Creates a rectangular ROI.

(int x, int y, int width, int height)

Source from the content-addressed store, hash-verified

164
165 /** Creates a rectangular ROI. */
166 public Roi(int x, int y, int width, int height) {
167 this(x, y, width, height, 0);
168 }
169
170 /** Creates a rectangular ROI using double arguments. */
171 public Roi(double x, double y, double width, double height) {

Callers

nothing calls this directly

Calls 12

setImageMethod · 0.95
drawMethod · 0.95
defaultStrokeWidthMethod · 0.95
setLocationMethod · 0.95
getDefaultStrokeWidthMethod · 0.95
setStrokeWidthMethod · 0.95
getDefaultStrokeColorMethod · 0.95
setStrokeColorMethod · 0.95
getGraphicsMethod · 0.80
disposeMethod · 0.45
offScreenX2Method · 0.45
offScreenY2Method · 0.45

Tested by

no test coverage detected