ResizeRectangle_Relative


Changes dimensions of a rectangle relatively.

Syntax

C++
Python
 
def ResizeRectangle_Relative(
	inRectangle: Rectangle2D,
	inAnchor: Anchor2D,
	/,
	*,
	inWidthScale: float = 1.0,
	inHeightScale: float = 1.0
)
-> outRectangle: Rectangle2D

Parameters

Name Type Range Default Description
Input value inRectangle Rectangle2D
Input value inAnchor Anchor2D
Input value inWidthScale float 0.0 - 1.0
Input value inHeightScale float 0.0 - 1.0
Output value outRectangle Rectangle2D