InterfaceIRotationService
The service supporting the rotation of diagram items.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.WinControls.RadDiagram.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
The mouse point.
InitializeRotate(IEnumerable<IDiagramItem>, double, Rect)
Initializes the rotate action.
Declaration
void InitializeRotate(IEnumerable<IDiagramItem> newSelectedItems, double adornerAngle, Rect bounds)
Parameters
newSelectedItems
IEnumerable<IDiagramItem>
The selected items.
adornerAngle
The adorner angle.
bounds
The adorner bounds.
Rotate(Point)
Rotates the items to the specified mouse position.
Declaration
void Rotate(Point mousePosition)
Parameters
mousePosition
The mouse position.
StartRotate(Point)
Starts the rotation.
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