You are here: Start » AVL.NET » AVL.CreateBoxBorderRegion Method

AVL.CreateBoxBorderRegion Method

Creates a frame-shaped region with given parameters.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inBoxAvlNet.Box
inBorderWidthint<0, INF>1Default value: 1.
inBorderPositionAvlNet.BorderPositionCenteredDefault value: Centered.
inFrameWidthint<0, INF>Width of the created region's frame.
inFrameHeightint<0, INF>Height of the created region's frame.
outRegionAvlNet.RegionOutput region.

Errors

Error type Description
DomainError Incorrect BorderPosition in CreateBoxBorderRegion.

See also