<< Click to Display Table of Contents >> NShape Reference
|
Moves the shape by a given distance.
public abstract bool MoveBy(int deltaX, int deltaY) |
The method tries to make the shape's x and y coordinates move by the given distance. If this is not possible, for example because one of the shape's glue points is connected, the method moves the shape as far as possible and then returns false.
Name |
Description |
---|---|
deltaX, deltaY |
Distance the shape has moved. |
True, if the moving could be completed processed. False, if the shape's X and Y properties do not exactly have the parameter values.
None