InterfaceIResizingService
The service supporting the scaling of diagram items and groups.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
public interface IResizingService
Properties
IsResizing
Gets a value indicating whether this instance is resizing.
Declaration
bool IsResizing { get; }
Property Value
True if this instance is resizing; otherwise, false.
Methods
CompleteResize(Rect, Point)
Completes the resize.
Declaration
void CompleteResize(Rect finalBounds, Point mousePosition)
Parameters
finalBounds
Rect
The final bounds.
mousePosition
Point
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
newSelectedItems
The selected items.
adornerAngle
The adorner angle.
adornerBounds
Rect
The adorner bounds.
resizingDirection
The resizing direction.
startPoint
Point
The start point.
Resize(Point)
Resizes to the new point.
Declaration
void Resize(Point newPoint)
Parameters
newPoint
Point
The new point.
StartResize(Point)
Starts the resize.
Declaration
bool StartResize(Point currentPoint)
Parameters
currentPoint
Point
The current point.
Returns
Events
CompleteResizing
Occurs on resizing completed.
Declaration
event EventHandler<ResizingEventArgs> CompleteResizing
Event Value
Resizing
Occurs when resizing.
Declaration
event EventHandler<ResizingEventArgs> Resizing
Event Value
StartResizing
Occurs on resizing start.
Declaration
event EventHandler<CancelingManipulationEventArgs> StartResizing
Event Value