Package org.eclipse.nebula.effects.stw
Class ImageCapture
- java.lang.Object
-
- org.eclipse.nebula.effects.stw.ImageCapture
-
public class ImageCapture extends java.lang.ObjectImage Capture
-
-
Constructor Summary
Constructors Constructor Description ImageCapture()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddrawOnImage(org.eclipse.swt.graphics.Image myImage, org.eclipse.swt.widgets.Control control, int maxWidth, int maxHeight, boolean includeChildren)static org.eclipse.swt.graphics.ImagegetImage(org.eclipse.swt.widgets.Control aControl, int maxWidth, int maxHeight)Return the image of the argument.static org.eclipse.swt.graphics.ImagegetImage(org.eclipse.swt.widgets.Control control, int maxWidth, int maxHeight, boolean includeChildren)
-
-
-
Method Detail
-
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 usegetImage(Control, int, int, boolean).- Parameters:
aControl-maxWidth-maxHeight-- Returns:
- image or
nullif not valid for some reason. (Like not yet sized). - Since:
- 1.1.0
-
-