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

Method getScreenSize

ij/src/main/java/ij/IJ.java:2560–2563  ·  view source on GitHub ↗

Returns the size, in pixels, of the primary display.

()

Source from the content-addressed store, hash-verified

2558
2559 /** Returns the size, in pixels, of the primary display. */
2560 public static Dimension getScreenSize() {
2561 Rectangle bounds = GUI.getScreenBounds();
2562 return new Dimension(bounds.width, bounds.height);
2563 }
2564
2565 /** Returns, as an array of strings, a list of the LUTs in the
2566 * Image/Lookup Tables menu.

Callers 15

getScreenDimensionMethod · 0.95
showDialogMethod · 0.95
showInfoMethod · 0.95
showDialogMethod · 0.95
showDialogMethod · 0.95
plotLanesMethod · 0.95
showMethod · 0.95
positionWindowMethod · 0.95
initMethod · 0.95
PlotWindowClass · 0.95
isHandleMethod · 0.95
defaultMonitorMethod · 0.80

Calls 1

getScreenBoundsMethod · 0.95

Tested by 2

actionPerformedMethod · 0.64
mainMethod · 0.64