ClassAdornerService
Manages the adorner helping the manipulation of items.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
public class AdornerService : GraphServiceBase, IAdornerService
Inheritance: objectGraphServiceBaseAdornerService
Implements:
Inherited Members
Constructors
AdornerService(IGraphInternal)
Initializes a new instance of the AdornerService class.
Declaration
public AdornerService(IGraphInternal graph)
Parameters
graph
The graph.
Properties
AdornerAngle
Gets the adorner angle.
AdornerBounds
Gets the selection bounds.
InflatedAdornerBounds
Gets the inflated selection bounds.
Declaration
public Rect InflatedAdornerBounds { get; }
Property Value
Implements
ResizeActivationRadius
Return the resize handles activation radius.
Declaration
public double ResizeActivationRadius { get; }
Property Value
Implements
RotateActivationRadius
Return the rotate handle activation radius.
Declaration
public double RotateActivationRadius { get; }
Property Value
Implements
Methods
BottomLeft()
Returns the bottom left resizing point.
BottomRight()
Returns the bottom right resizing point.
Center()
Centers this instance.
RotationPoint()
Returns the rotation point.
TopLeft()
Returns the top left point of the adorner.
TopRight()
Returns the top right resizing point.
UpdateAdornerAngle(double)
Updates the adorner angle.
Declaration
public virtual void UpdateAdornerAngle(double newAngle = NaN)
Parameters
newAngle
Implements
UpdateAdornerBounds(Point, double, double)
Updates the bounds positions.
UpdateAdornerBounds(Rect)
Updates the adorner bounds.
Declaration
public virtual void UpdateAdornerBounds(Rect newBounds)
Parameters
newBounds
Implements
UpdateSelectedItems(IEnumerable<IDiagramItem>)
Updates the selected items.
Declaration
public void UpdateSelectedItems(IEnumerable<IDiagramItem> newItems)
Parameters
newItems
IEnumerable<IDiagramItem>
Implements