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

Method getZeroBasedMaxBounds

ij/src/main/java/ij/gui/GUI.java:171–178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

169 }
170
171 public static Rectangle getZeroBasedMaxBounds() {
172 for (GraphicsConfiguration config : getScreenConfigs()) {
173 Rectangle bounds = config.getBounds();
174 if (bounds != null && bounds.x == 0 && bounds.y == 0)
175 return bounds;
176 }
177 return null;
178 }
179
180 public static Rectangle getUnionOfBounds() {
181 Rectangle unionOfBounds = new Rectangle();

Callers

nothing calls this directly

Calls 2

getScreenConfigsMethod · 0.95
getBoundsMethod · 0.65

Tested by

no test coverage detected