public class ImageCapture
extends java.lang.Object
Constructor and Description |
---|
ImageCapture() |
Modifier and Type | Method and Description |
---|---|
static void |
drawOnImage(org.eclipse.swt.graphics.Image myImage,
org.eclipse.swt.widgets.Control control,
int maxWidth,
int maxHeight,
boolean includeChildren) |
static org.eclipse.swt.graphics.Image |
getImage(org.eclipse.swt.widgets.Control aControl,
int maxWidth,
int maxHeight)
Return the image of the argument.
|
static org.eclipse.swt.graphics.Image |
getImage(org.eclipse.swt.widgets.Control control,
int maxWidth,
int maxHeight,
boolean includeChildren) |
public static void drawOnImage(org.eclipse.swt.graphics.Image myImage, org.eclipse.swt.widgets.Control control, int maxWidth, int maxHeight, boolean includeChildren)
public static org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.widgets.Control control, int maxWidth, int maxHeight, boolean includeChildren)
public static org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.widgets.Control aControl, int maxWidth, int maxHeight)
getImage(Control, int, int, boolean)
.aControl
- maxWidth
- maxHeight
- null
if not valid for some reason. (Like not yet sized).