org.eclipse.nebula.effects.stw
Class ImageCapture
java.lang.Object
org.eclipse.nebula.effects.stw.ImageCapture
public class ImageCapture
- extends java.lang.Object
Image Capture
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageCapture
public ImageCapture()
drawOnImage
public static void drawOnImage(org.eclipse.swt.graphics.Image myImage,
org.eclipse.swt.widgets.Control control,
int maxWidth,
int maxHeight,
boolean includeChildren)
getImage
public static org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.widgets.Control control,
int maxWidth,
int maxHeight,
boolean includeChildren)
getImage
public static org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.widgets.Control aControl,
int maxWidth,
int maxHeight)
- Return the image of the argument. This includes the client and non-client area, but does not include any child controls. To get child control
use
getImage(Control, int, int, boolean)
.
- Parameters:
aControl
- maxWidth
- maxHeight
-
- Returns:
- image or
null
if not valid for some reason. (Like not yet sized). - Since:
- 1.1.0