Back to FabImage Library website

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

InflateRectangle


Header: FIL.h
Namespace: fil
Module: FoundationLite

Enlarges a rectangle by a given margin.

Syntax

C++
C#
 
void fil::InflateRectangle
(
	const fil::Rectangle2D& inRectangle,
	float inMargin,
	fil::Rectangle2D& outRectangle
)

Parameters

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