You are here: Start » AVL.NET » Invoke.RescaleRectangle
Changes the corners and the dimensions of a rectangle.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void RescaleRectangle ( Avl.Rectangle2D inRectangle, Optional<Avl.Point2D> inReferencePoint, float inScale, bool inInverse, out Avl.Rectangle2D outRectangle )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inRectangle | Avl.Rectangle2D | |||
![]()  | inReferencePoint | Atl.Optional<Avl.Point2D> | The point, to which all distance will be changed proportionally. Default value: atl::NIL. | ||
![]()  | inScale | float | 1.0f | Scaling factor. Default value: 1.0f. | |
![]()  | inInverse | bool | Switches to the inverse operation. | ||
![]()  | outRectangle | Avl.Rectangle2D | 


