You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » AVL.InflateRectangle

AVL.InflateRectangle

Enlarges a rectangle by a given margin.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void InflateRectangle
(
	AvlNet.Rectangle2D inRectangle,
	float inMargin,
	out AvlNet.Rectangle2D outRectangle
)

Parameters

Name Type Range Default Description
inRectangleAvlNet.Rectangle2D
inMarginfloat
outRectangleAvlNet.Rectangle2D

See also