public static NRectangle ResizeRectangle( NRectangle rect, ENCompassDirection direction, System.double dx, System.double dy, System.bool preserveAspectRatio, NSize minSize )
Parameters
- rect
- rectangle to resize
- direction
- compass direction of the handle, which is resized
- dx
- x handle change
- dy
- y handle change
- preserveAspectRatio
- indicates whether the change of the aspect ratio is allowed
- minSize
- minimal size of the new rect
Return Value
resized rectangle