Interface IAdornerService
The service supporting the adorning of diagram elements.
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public interface IAdornerService
Remarks
Note that this service can be customized and plugged into the ServiceLocator.
Properties
AdornerAngle
Gets the adorner angle.
Declaration
double AdornerAngle { get; }
Property Value
System.Double
|
AdornerBounds
InflatedAdornerBounds
Gets the inflated selection bounds.
Declaration
Rect InflatedAdornerBounds { get; }
Property Value
Rect
|
ResizeActivationRadius
Return the resize handles activation radius.
Declaration
double ResizeActivationRadius { get; }
Property Value
System.Double
|
RotateActivationRadius
Return the rotate handle activation radius.
Declaration
double RotateActivationRadius { get; }
Property Value
System.Double
|
Methods
BottomLeft()
BottomRight()
Center()
RotationPoint()
TopLeft()
TopRight()
UpdateAdornerAngle(Double)
Updates the adorner angle.
Declaration
void UpdateAdornerAngle(double newAngle = NaN)
Parameters
System.Double
newAngle
|
UpdateAdornerBounds(Point, Double, Double)
Updates the bounds positions.
Declaration
void UpdateAdornerBounds(Point deltaPosition, double deltaWidth = 0, double deltaHeight = 0)
Parameters
Point
deltaPosition
The delta position. |
System.Double
deltaWidth
The delta width. |
System.Double
deltaHeight
The delta height. |
UpdateAdornerBounds(Rect)
Updates the adorner bounds.
Declaration
void UpdateAdornerBounds(Rect newBounds)
Parameters
Rect
newBounds
|
UpdateSelectedItems(IEnumerable<IDiagramItem>)
Updates the selected items.
Declaration
void UpdateSelectedItems(IEnumerable<IDiagramItem> newItems)
Parameters
System.Collections.Generic.IEnumerable<IDiagramItem>
newItems
|