Interface
IAdornerService

The service supporting the adorning of diagram elements.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.Windows.Diagrams.Core.dll

Syntax:

cs-api-definition
public interface IAdornerService

Properties

AdornerAngle

Gets the adorner angle.

Declaration

cs-api-definition
double AdornerAngle { get; }

Property Value

double

AdornerBounds

Gets the selection bounds.

Declaration

cs-api-definition
Rect AdornerBounds { get; }

Property Value

Rect

InflatedAdornerBounds

Gets the inflated selection bounds.

Declaration

cs-api-definition
Rect InflatedAdornerBounds { get; }

Property Value

Rect

ResizeActivationRadius

Return the resize handles activation radius.

Declaration

cs-api-definition
double ResizeActivationRadius { get; }

Property Value

double

RotateActivationRadius

Return the rotate handle activation radius.

Declaration

cs-api-definition
double RotateActivationRadius { get; }

Property Value

double

Methods

BottomLeft()

Returns the bottom left point of the adorner.

Declaration

cs-api-definition
Point BottomLeft()

Returns

Point

BottomRight()

Returns the bottom right point of the adorner.

Declaration

cs-api-definition
Point BottomRight()

Returns

Point

Center()

Centers this instance.

Declaration

cs-api-definition
Point Center()

Returns

Point

RotationPoint()

Returns the rotation point.

Declaration

cs-api-definition
Point RotationPoint()

Returns

Point

TopLeft()

Returns the top left point of the adorner.

Declaration

cs-api-definition
Point TopLeft()

Returns

Point

TopRight()

Returns the top right point of the adorner.

Declaration

cs-api-definition
Point TopRight()

Returns

Point

UpdateAdornerAngle(double)

Updates the adorner angle.

Declaration

cs-api-definition
void UpdateAdornerAngle(double newAngle = NaN)

Parameters

newAngle

double

UpdateAdornerBounds(Point, double, double)

Updates the bounds positions.

Declaration

cs-api-definition
void UpdateAdornerBounds(Point deltaPosition, double deltaWidth = 0, double deltaHeight = 0)

Parameters

deltaPosition

Point

The delta position.

deltaWidth

double

The delta width.

deltaHeight

double

The delta height.

UpdateAdornerBounds(Rect)

Updates the adorner bounds.

Declaration

cs-api-definition
void UpdateAdornerBounds(Rect newBounds)

Parameters

newBounds

Rect

UpdateSelectedItems(IEnumerable<IDiagramItem>)

Updates the selected items.

Declaration

cs-api-definition
void UpdateSelectedItems(IEnumerable<IDiagramItem> newItems)

Parameters

newItems

IEnumerable<IDiagramItem>