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