public static NRectangle ResizeRectangle( NRectangle rect, ENCompassDirection direction, System.double dx, System.double dy, System.bool preserveAspectRatio )
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
Return Value
resized rectangle