public static NRectangleI ResizeRectangle( NRectangleI rect, ENCompassDirection direction, System.int dx, System.int dy, System.bool canChangeAspectRatio )
Parameters
- rect
- rectangle to resize
- direction
- compass direction of the handle, which is resized
- dx
- x handle change
- dy
- y handle change
- canChangeAspectRatio
- indicates whether the change of the aspect ratio is allowed
Return Value
resized rectangle