<< Click to Display Table of Contents >> NShape Reference
|
Rotates the shape around the given coordinates by the given angle.
protected abstract bool RotateCore(int deltaAngle, int x, int y); |
Rotates the shape around the given coordinates by the given angle.
This method contains the implementation of rotating a shape around a specified point and is therefore abstract. It has to be implemented by the shape class that defines the shape's visual and behavior.
Name |
Description |
---|---|
deltaAngle |
Specifies the rotation angle in tenths of degrees. |
x |
Specifies the rotation center's X coordinate. |
y |
Specifies the rotation center's Y coordinate. |
Returns true if the rotation was performed as requested, false if the shape was rotated 'as far as possible'.
Name |
Description |
---|---|
CreateDiagram |
Creates a new diagram. |
DeleteDiagram |
Deletes a diagram. |