Method SelectionPixelMove
SelectionPixelMove(int, int, int, int, double, int, int, double, double, bool, bool)
Translates and/or rotates the selected objects.
Declaration
public void SelectionPixelMove(int windowWidth, int windowHeight, int originPixelX, int originPixelY, double originOxyAngle, int extremityPixelX, int extremityPixelY, double extremityOxyAngle, double distance = 0, bool duplicate = false, bool percuss = false)
Parameters
Type | Name | Description |
---|---|---|
int | windowWidth | Width of the window (or image) for which the pixel coordinates are given. |
int | windowHeight | Height of the window (or image) for which the pixel coordinates are given. |
int | originPixelX | X coordinate of the pixel of the origin of the moving vector, in scene measurement units. |
int | originPixelY | Y coordinate of the pixel of the origin of the moving vector, in scene measurement units. |
double | originOxyAngle | Rotation in the origin of the moving vector, in the OXY plane, in degrees. |
int | extremityPixelX | X coordinate of the pixel of the extremity of the moving vector, in scene measurement units. |
int | extremityPixelY | Y coordinate of the pixel of the extremity of the moving vector, in scene measurement units. |
double | extremityOxyAngle | Rotation in the origin of the moving vector, in the OXY plane, in degrees. |
double | distance | The value (length) of the translation.
If |
bool | duplicate | If |
bool | percuss | If |