Interface IResizingService
The service supporting the scaling of diagram items and groups.
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public interface IResizingService
Remarks
Note that this service can be customized and plugged into the ServiceLocator.
Properties
IsResizing
Gets a value indicating whether this instance is resizing.
Declaration
bool IsResizing { get; }
Property Value
System.Boolean
|
Methods
CompleteResize(Rect, Point)
Completes the resize.
Declaration
void CompleteResize(Rect finalBounds, Point mousePosition)
Parameters
Rect
finalBounds
The final bounds. |
Point
mousePosition
The final mouse position. |
InitializeResize(IEnumerable<IDiagramItem>, Double, Rect, ResizeDirection, Point)
Initializes the resize action.
Declaration
void InitializeResize(IEnumerable<IDiagramItem> newSelectedItems, double adornerAngle, Rect adornerBounds, ResizeDirection resizingDirection, Point startPoint)
Parameters
System.Collections.Generic.IEnumerable<IDiagramItem>
newSelectedItems
The selected items. |
System.Double
adornerAngle
The adorner angle. |
Rect
adornerBounds
The adorner bounds. |
ResizeDirection
resizingDirection
The resizing direction. |
Point
startPoint
The start point. |
Resize(Point)
Resizes to the new point.
Declaration
void Resize(Point newPoint)
Parameters
Point
newPoint
The new point. |
StartResize(Point)
Starts the resize.
Declaration
bool StartResize(Point currentPoint)
Parameters
Point
currentPoint
The current point. |
Returns
System.Boolean
|
Events
CompleteResizing
Occurs on resizing completed.
Declaration
event EventHandler<ResizingEventArgs> CompleteResizing
Event Type
System.EventHandler<ResizingEventArgs>
|
Resizing
Occurs when resizing.
Declaration
event EventHandler<ResizingEventArgs> Resizing
Event Type
System.EventHandler<ResizingEventArgs>
|
StartResizing
Occurs on resizing start.
Declaration
event EventHandler<CancelingManipulationEventArgs> StartResizing
Event Type
System.EventHandler<CancelingManipulationEventArgs>
|