The control fires the drag events in the following order:
The following screen shot shows a few information ( angle, offset, values, ... ) you can get during dragging operation:
The DragInfo object supports the following properties and methods:
Name | Description | |||
Button | Specifies the button that initiated the drag operation. | |||
Clockwise | Indicates if the rotation is clockwise or anticlockwise. | |||
CumulativeRotateAngle | Indicates the cumulative rotation angle. | |||
CurrentX | Indicates the current x-position of the cursor, while dragging the layer. | |||
CurrentY | Indicates the current y-position of the cursor, while dragging the layer. | |||
Debug | Specifies debugging information to be shown while dragging the layers. | |||
Delta | Returns the distance between clicking and current points. | |||
DeltaAngle | Returns the rotation angle. | |||
DeltaX | Returns the offset on the x-coordinate of the the current drag operation. | |||
DeltaY | Returns the offset on the y-coordinate of the the current drag operation. | |||
Layer | Specifies the layer being dragged. | |||
RotateAngleValid | Validates the rotation angle of the layer, during dragging. | |||
UserData | Indicates any extra data associated with the dragging data. | |||
X | Indicates the x-position of the cursor, when the drag operation starts. | |||
Y | Indicates the y-position of the cursor, when the drag operation starts. |