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

AVL.CreateBoxBorderRegion

Creates a frame-shaped region with given parameters.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CreateBoxBorderRegion
(
	AvlNet.Box inBox,
	int inBorderWidth,
	AvlNet.BorderPosition inBorderPosition,
	int inFrameWidth,
	int inFrameHeight,
	AvlNet.Region outRegion
)

Parameters

Name Type Range Default Description
inBoxAvlNet.Box
inBorderWidthint<0, INF>1Default value: 1.
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 CreateBoxBorderRegion.

See also