<< Click to Display Table of Contents >> NShape Reference
|
Moves the control point by a given distance.
protected abstract bool MovePointByCore(ControlPointId pointId, int deltaX, int deltaY, ResizeModifiers modifiers) |
Moves the control point of a shape by a given distance.
This method contains the implementation of moving a control point of a shape and is therefore abstract. It has to be implemented by the shape class that defines the shape's visual and behavior.
Name |
Description |
---|---|
pointId |
Identifies the point that has to be moved. |
deltaX |
X coordinate of the distance to move. |
deltaY |
Y coordinate of the distance to move. |
modifiers |
Influences how the movement is performed. |
Returns true if the movement was performed as desired, false if it was moved 'as far as possible'.