You are here: Start » AVL.NET » AVS.CreateRectangleBorderRegion Method

AVS.CreateRectangleBorderRegion Method

Creates a frame-shaped region with given parameters.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

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.

Function Overrides

See also