RescaleRectangle
Changes the corners and the dimensions of a rectangle.
Syntax
C++
Python
def RescaleRectangle( inRectangle: Rectangle2D, /, *, inReferencePoint: Point2D | None = None, inScale: float = 1.0, inInverse: bool = False ) -> outRectangle: Rectangle2D
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inRectangle | Rectangle2D | ||
![]() |
inReferencePoint | Point2D | None | None | The point, to which all distance will be changed proportionally |
![]() |
inScale | float | 1.0 | Scaling factor |
![]() |
inInverse | bool | False | Switches to the inverse operation |
![]() |
outRectangle | Rectangle2D |


