Interface IRotationService
The service supporting the rotation of diagram items.
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public interface IRotationService
Remarks
Note that this service can be customized and plugged into the ServiceLocator.
Properties
IsRotating
Gets a value indicating whether this instance is rotating.
Declaration
bool IsRotating { get; }
Property Value
System.Boolean
|
Methods
CompleteRotate(Point)
Completes the rotation.
Declaration
void CompleteRotate(Point mousePoint)
Parameters
System.Windows.Point
mousePoint
The mouse point. |
InitializeRotate(IEnumerable<IDiagramItem>, Double, Rect)
Initializes the rotate action.
Declaration
void InitializeRotate(IEnumerable<IDiagramItem> newSelectedItems, double adornerAngle, Rect bounds)
Parameters
System.Collections.Generic.IEnumerable<IDiagramItem>
newSelectedItems
The selected items. |
System.Double
adornerAngle
The adorner angle. |
System.Windows.Rect
bounds
The adorner bounds. |
Rotate(Point)
Rotates the items to the specified mouse position.
Declaration
void Rotate(Point mousePosition)
Parameters
System.Windows.Point
mousePosition
The mouse position. |
StartRotate(Point)
Starts the rotation.
Declaration
bool StartRotate(Point currentPoint)
Parameters
System.Windows.Point
currentPoint
The current point. |
Returns
System.Boolean
|
Events
CompleteRotating
Occurs on complete rotating.
Declaration
event EventHandler<RotatingEventArgs> CompleteRotating
Event Type
System.EventHandler<RotatingEventArgs>
|
Rotating
Occurs when rotating.
Declaration
event EventHandler<RotatingEventArgs> Rotating
Event Type
System.EventHandler<RotatingEventArgs>
|
StartRotating
Occurs on start rotating.
Declaration
event EventHandler<CancelingManipulationEventArgs> StartRotating
Event Type
System.EventHandler<CancelingManipulationEventArgs>
|