Interface
IRotationService

The service supporting the rotation of diagram items.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.Windows.Diagrams.Core.dll

Syntax:

cs-api-definition
public interface IRotationService

Properties

IsRotating

Gets a value indicating whether this instance is rotating.

Declaration

cs-api-definition
bool IsRotating { get; }

Property Value

bool

True if this instance is rotating; otherwise, false.

Methods

CompleteRotate(Point)

Completes the rotation.

Declaration

cs-api-definition
void CompleteRotate(Point mousePoint)

Parameters

mousePoint

Point

The mouse point.

InitializeRotate(IEnumerable<IDiagramItem>, double, Rect)

Initializes the rotate action.

Declaration

cs-api-definition
void InitializeRotate(IEnumerable<IDiagramItem> newSelectedItems, double adornerAngle, Rect bounds)

Parameters

newSelectedItems

IEnumerable<IDiagramItem>

The selected items.

adornerAngle

double

The adorner angle.

bounds

Rect

The adorner bounds.

Rotate(Point)

Rotates the items to the specified mouse position.

Declaration

cs-api-definition
void Rotate(Point mousePosition)

Parameters

mousePosition

Point

The mouse position.

StartRotate(Point)

Starts the rotation.

Declaration

cs-api-definition
bool StartRotate(Point currentPoint)

Parameters

currentPoint

Point

The current point.

Returns

bool

Events

CompleteRotating

Occurs on complete rotating.

Declaration

cs-api-definition
event EventHandler<RotatingEventArgs> CompleteRotating

Event Value

EventHandler<RotatingEventArgs>

Rotating

Occurs when rotating.

Declaration

cs-api-definition
event EventHandler<RotatingEventArgs> Rotating

Event Value

EventHandler<RotatingEventArgs>

StartRotating

Occurs on start rotating.

Declaration

cs-api-definition
event EventHandler<CancelingManipulationEventArgs> StartRotating

Event Value

EventHandler<CancelingManipulationEventArgs>