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

Invoke.CreateRectangleRegion

Creates a region corresponding to a given rectangle.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void CreateRectangleRegion
(
	Avl.Rectangle2D inRectangle,
	Optional<Avl.CoordinateSystem2D> inRectangleAlignment,
	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.
inFrameWidthint<0, 65535>Width of the created region's frame (not to be confused with the width of the rectangle!).
inFrameHeightint<0, 65535>Height of the created region's frame (not to be confused with the height of the rectangle!).
outRegionAvl.RegionOutput region.
outAlignedRectangleAtl.Optional<Avl.Rectangle2D>The input rectangle transformed to the absolute coordinate system.

See also