Parameter | Type | Description |
---|---|---|
offsetX | double | The horizontal offset to be used when moving the object. |
offsetY | double | The vertical offset to be used when moving the object. |
This method is called when the user clicks and drags the AnnEditDesigner object itself. Derived classes may override this method and provide the necessary functionality to update the coordinates of the object being edited. The default implementation is as follows:
// Translate the target object
this.targetObject.translate(offsetX, offsetY);
For more information and an example, refer to Implement User Defined Objects with LEADTOOLS Annotations