Move the selected absolute position image or video.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String | 'moveAbsolutePositionDrawingObject' image or video layer moving API |
movePosition | Object | { x: {Number}, y: {Number} } Position to move |
Example:
editor.execCommand('moveAbsolutePositionDrawingObject', { x: 100, y: 100 }); // move to 100,100