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 Service
Properties
AdornerAngle
Gets the adorner angle.
Declaration
double AdornerAngle { get; }
Property Value
System.
|
AdornerBounds
Gets the selection bounds.
Declaration
Rect AdornerBounds { get; }
Property Value
System.
|
InflatedAdornerBounds
Gets the inflated selection bounds.
Declaration
Rect InflatedAdornerBounds { get; }
Property Value
System.
|
ResizeActivationRadius
Return the resize handles activation radius.
Declaration
double ResizeActivationRadius { get; }
Property Value
System.
|
RotateActivationRadius
Return the rotate handle activation radius.
Declaration
double RotateActivationRadius { get; }
Property Value
System.
|
Methods
BottomLeft()
Returns the bottom left point of the adorner.
Declaration
Point BottomLeft()
Returns
System.
|
BottomRight()
Returns the bottom right point of the adorner.
Declaration
Point BottomRight()
Returns
System.
|
Center()
Centers this instance.
Declaration
Point Center()
Returns
System.
|
RotationPoint()
Returns the rotation point.
Declaration
Point RotationPoint()
Returns
System.
|
TopLeft()
Returns the top left point of the adorner.
Declaration
Point TopLeft()
Returns
System.
|
TopRight()
Returns the top right point of the adorner.
Declaration
Point TopRight()
Returns
System.
|
UpdateAdornerAngle(Double)
Updates the adorner angle.
Declaration
void UpdateAdornerAngle(double newAngle = NaN)
Parameters
System.
|
UpdateAdornerBounds(Point, Double, Double)
Updates the bounds positions.
Declaration
void UpdateAdornerBounds(Point deltaPosition, double deltaWidth = 0, double deltaHeight = 0)
Parameters
System. The delta position. |
System. The delta width. |
System. The delta height. |
UpdateAdornerBounds(Rect)
Updates the adorner bounds.
Declaration
void UpdateAdornerBounds(Rect newBounds)
Parameters
System.
|
UpdateSelectedItems(IEnumerable<IDiagramItem>)
Updates the selected items.
Declaration
void UpdateSelectedItems(IEnumerable<IDiagramItem> newItems)
Parameters
System.
|