Experimental: this API is experimental and might be changed or removed in the future.
Dragger.CalculatePosition
protected
Rect CalculatePosition(float
x,
float
y,
float
width,
float
height);
Parameters
| x | | New x position. |
| y | | New y position. |
| width | | Element width. |
| height | | Element height. |
Returns
Rect
Calculated and validated position.
Description 描述
Calculate new position of the dragged element.