You are here: Start » AVL.NET » Invoke.CreateRectangleBorderRegion

Invoke.CreateRectangleBorderRegion

Creates a frame-shaped region with given parameters.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void CreateRectangleBorderRegion
(
	Avl.Rectangle2D inRectangle,
	Optional<Avl.CoordinateSystem2D> inRectangleAlignment,
	float inBorderWidth,
	Avl.BorderPosition inBorderPosition,
	int inFrameWidth,
	int inFrameHeight,
	Avl.Region outRegion,
	Optional<Avl.Rectangle2D> outAlignedRectangle
)

Parameters

Name Type Range Default Description
inRectangleAvl.Rectangle2D
inRectangleAlignmentAtl.Optional<Avl.CoordinateSystem2D>Adjusts the rectangle to the position of the inspected object. Default value: atl::NIL.
inBorderWidthfloat<0.0f, INF>1.0fDefault value: 1.0f.
inBorderPositionAvl.BorderPositionCenteredDefault value: Centered.
inFrameWidthint<0, 65535>Width of the created region's frame.
inFrameHeightint<0, 65535>Height of the created region's frame.
outRegionAvl.RegionOutput region.
outAlignedRectangleAtl.Optional<Avl.Rectangle2D>The input rectangle transformed to the absolute coordinate system.

See also