Interface IAdornerService
The service supporting the adorning of diagram elements.
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.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
Gets the selection bounds.
Declaration
Rect AdornerBounds { get; }
Property Value
System.Windows.Rect
|
InflatedAdornerBounds
Gets the inflated selection bounds.
Declaration
Rect InflatedAdornerBounds { get; }
Property Value
System.Windows.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()
Returns the bottom left point of the adorner.
Declaration
Point BottomLeft()
Returns
System.Windows.Point
|
BottomRight()
Returns the bottom right point of the adorner.
Declaration
Point BottomRight()
Returns
System.Windows.Point
|
Center()
Centers this instance.
Declaration
Point Center()
Returns
System.Windows.Point
|
RotationPoint()
Returns the rotation point.
Declaration
Point RotationPoint()
Returns
System.Windows.Point
|
TopLeft()
Returns the top left point of the adorner.
Declaration
Point TopLeft()
Returns
System.Windows.Point
|
TopRight()
Returns the top right point of the adorner.
Declaration
Point TopRight()
Returns
System.Windows.Point
|
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
System.Windows.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
System.Windows.Rect
newBounds
|
UpdateSelectedItems(IEnumerable<IDiagramItem>)
Updates the selected items.
Declaration
void UpdateSelectedItems(IEnumerable<IDiagramItem> newItems)
Parameters
System.Collections.Generic.IEnumerable<IDiagramItem>
newItems
|