Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## teamdev.jxdesktop
Class CaptureUtilities

    java.lang.Object
      teamdev.jxdesktop.CaptureUtilities

Direct Known Subclasses:
  WindowsCaptureUtilities

public abstract class CaptureUtilities
extends java.lang.Object

A collection of utility methods for desktop.

Constructor Summary
`protected` | `CaptureUtilities()`

Method Summary
`abstract java.awt.image.BufferedImage` | `createScreenCapture(java.awt.Rectangle screenRect)` Creates an image containing pixels read from the screen.
`static CaptureUtilities` | `getInstance()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CaptureUtilities

    protected CaptureUtilities()

Method Detail

### getInstance

    public static CaptureUtilities getInstance()

### createScreenCapture

    public abstract java.awt.image.BufferedImage createScreenCapture(java.awt.Rectangle screenRect)

  Creates an image containing pixels read from the screen.

  Parameters:
    `screenRect` - rect to capture in screen coordinates
  Returns:
    The captured image
  Throws:
    `java.lang.IllegalArgumentException` - if `screenRect` width and height are not greater than zero or more than screen size

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD