InterfaceIRotationService
The service supporting the rotation of diagram items.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
public interface IRotationService
Properties
IsRotating
Gets a value indicating whether this instance is rotating.
Declaration
bool IsRotating { get; }
Property Value
True if this instance is rotating; otherwise, false.
Methods
CompleteRotate(Point)
Completes the rotation.
Declaration
void CompleteRotate(Point mousePoint)
Parameters
mousePoint
Point
The mouse point.
InitializeRotate(IEnumerable<IDiagramItem>, double, Rect)
Initializes the rotate action.
Declaration
void InitializeRotate(IEnumerable<IDiagramItem> newSelectedItems, double adornerAngle, Rect bounds)
Parameters
newSelectedItems
The selected items.
adornerAngle
The adorner angle.
bounds
Rect
The adorner bounds.
Rotate(Point)
Rotates the items to the specified mouse position.
Declaration
void Rotate(Point mousePosition)
Parameters
mousePosition
Point
The mouse position.
StartRotate(Point)
Starts the rotation.
Declaration
bool StartRotate(Point currentPoint)
Parameters
currentPoint
Point
The current point.
Returns
Events
CompleteRotating
Occurs on complete rotating.
Declaration
event EventHandler<RotatingEventArgs> CompleteRotating
Event Value
Rotating
Occurs when rotating.
Declaration
event EventHandler<RotatingEventArgs> Rotating
Event Value
StartRotating
Occurs on start rotating.
Declaration
event EventHandler<CancelingManipulationEventArgs> StartRotating
Event Value