InflateRectangle


Enlarges a rectangle by a given margin.

Syntax

C++
Python
 
def InflateRectangle(
	inRectangle: Rectangle2D,
	/,
	*,
	inMargin: float = 0
)
-> outRectangle: Rectangle2D

Parameters

Name Type Default Description
Input value inRectangle Rectangle2D
Input value inMargin float 0
Output value outRectangle Rectangle2D