You are here: Start » AVL.NET » Function Reference » Region » Region Basics » AVL.CreateRectangleBorderRegion

AVL.CreateRectangleBorderRegion

Creates a frame-shaped region with given parameters.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CreateRectangleBorderRegion
(
	AvlNet.Rectangle2D inRectangle,
	float inBorderWidth,
	AvlNet.BorderPosition inBorderPosition,
	int inFrameWidth,
	int inFrameHeight,
	AvlNet.Region outRegion
)

Parameters

Name Type Range Default Description
inRectangleAvlNet.Rectangle2D
inBorderWidthfloat<0.0f, INF>1.0fDefault value: 1.0f.
inBorderPositionAvlNet.BorderPositionCenteredDefault value: Centered.
inFrameWidthint<0, 65535>Width of the created region's frame.
inFrameHeightint<0, 65535>Height of the created region's frame.
outRegionAvlNet.RegionOutput region.

Errors

List of possible exceptions:

Error type Description
DomainError Incorrect BorderPosition in CreateRectangleBorderRegion.

Function Overrides

See also