Back to FabImage Library website

You are here: Start » Function Reference » Path » Path Global Transforms » DilatePolygon

DilatePolygon


Header: FIL.h
Namespace: fil
Module: FoundationBasic

Enlarges a polygon by a given radius.

Syntax

C++
C#
 
void fil::DilatePolygon
(
	const fil::Path& inPolygon,
	float inRadius,
	bool inRasterMode,
	fil::Path& outPolygon
)

Parameters

Name Type Default Description
Input value inPolygon const Path& Input polygon
Input value inRadius float 1.0f
Input value inRasterMode bool False
Output value outPolygon Path& Output polygon

Errors

List of possible exceptions:

Error type Description
DomainError Open path on input in DilatePolygon.