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

Method getPositionAsString

ij/src/main/java/ij/gui/Roi.java:2247–2256  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2245 }
2246
2247 public String getPositionAsString() {
2248 String position = "" + getPosition();
2249 if (hasHyperStackPosition())
2250 position = getCPosition() +","+getZPosition()+","+ getTPosition();
2251 if (position.equals("0"))
2252 position = "none";
2253 else if (position.equals(""+PointRoi.POINTWISE_POSITION))
2254 position = "point-specific";
2255 return position;
2256 }
2257
2258 /** Sets the hyperstack position of this ROI. In an overlay, this
2259 * ROI is only displayed when the hyperstack is at the specified position.

Callers 3

toStringMethod · 0.95
toStringMethod · 0.80
showDialogMethod · 0.80

Calls 6

getPositionMethod · 0.95
hasHyperStackPositionMethod · 0.95
getCPositionMethod · 0.95
getZPositionMethod · 0.95
getTPositionMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected