public class AWTScreenCaptureService extends AbstractService implements ScreenCaptureService
Constructor and Description |
---|
AWTScreenCaptureService() |
Modifier and Type | Method and Description |
---|---|
Dataset |
captureScreen()
Captures the entire screen and returns the result in a Dataset.
|
Dataset |
captureScreenRegion(int x,
int y,
int width,
int height)
Captures a rectangular region of the screen and returns the result in
a Dataset.
|
getContext, setContext, toString
getInfo, getPriority, setInfo, setPriority
context
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
initialize, registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
public Dataset captureScreenRegion(int x, int y, int width, int height)
captureScreenRegion
in interface ScreenCaptureService
public Dataset captureScreen()
captureScreen
in interface ScreenCaptureService
Copyright © 2014–2022 ImageJ. All rights reserved.