Lines Matching defs:screenRect
409 * @param screenRect Rect to capture in screen coordinates
411 * @throws IllegalArgumentException if {@code screenRect} width and height are not greater than zero
416 public synchronized BufferedImage createScreenCapture(Rectangle screenRect) {
417 return createCompatibleImage(screenRect, false)[0];
453 * @param screenRect Rect to capture in screen coordinates
455 * @throws IllegalArgumentException if {@code screenRect} width and height are not greater than zero
463 createMultiResolutionScreenCapture(Rectangle screenRect) {
466 createCompatibleImage(screenRect, true));
470 createCompatibleImage(Rectangle screenRect, boolean isHiDPI) {
474 checkValidRect(screenRect);
509 gc, screenRect.getCenterX(), screenRect.getCenterY());
518 pixels = peer.getRGBPixels(screenRect);
525 raster = Raster.createPackedRaster(buffer, screenRect.width,
526 screenRect.height, screenRect.width, bandmasks, null);
536 int sX = (int) Math.floor(screenRect.x * uiScaleX);
537 int sY = (int) Math.floor(screenRect.y * uiScaleY);
538 int sWidth = (int) Math.ceil(screenRect.width * uiScaleX);
539 int sHeight = (int) Math.ceil(screenRect.height * uiScaleY);
556 lowResolutionImage = new BufferedImage(screenRect.width,
557 screenRect.height, highResolutionImage.getType());
566 screenRect.width, screenRect.height,