<< Click to Display Table of Contents >> NShape Reference
|
Moves the shape by a given distance.
protected abstract bool MoveByCore(int deltaX, int deltaY) |
Moves the shape by a given distance.
This method contains the implementation of moving a shape and is therefore abstract. It has to be implmemented by the shape class that defines the shape's visual and behavior.
Name |
Description |
---|---|
deltaX, deltaY |
The distance of the shape movement. |
Returns true if the movement was successful, false if the movement was performed 'as far as possible'.