public static class DragContext.ImageDragInWindow extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
clearPendingDrags
By default this is true.
|
Point |
cursorOffsetInImage
The original cursorOffsetInImage value.
|
Rect |
dragLimits
If this is not null the image will be limited to being within this area.
|
IImage |
image
This is the image being dragged.
|
Point |
imagePos
This is the location of the last valid drag.
|
Point |
relativeImagePos
This is the position of the top-left of the image, relative to the top left of the Control.
|
Constructor and Description |
---|
ImageDragInWindow(IImage image,
Point cursorOffsetInImage,
Control relativeTo,
Window window) |
ImageDragInWindow(IImage image,
Point cursorOffsetInImage,
Control relativeTo,
Window window,
Rect limitTo) |
Modifier and Type | Method and Description |
---|---|
void |
dontCaptureWindow() |
void |
windowChanged() |
public Rect dragLimits
public IImage image
public boolean clearPendingDrags
public Point imagePos
public Point relativeImagePos
public Point cursorOffsetInImage