You are here: Start » AVL.NET » AVL.CreateRectangleRegion(AvlNet.Rectangle2D, int, int, AvlNet.Region, AvlNet.Rectangle2D)

AVL.CreateRectangleRegion(AvlNet.Rectangle2D, int, int, AvlNet.Region, AvlNet.Rectangle2D)

Creates a region corresponding to a given rectangle.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void CreateRectangleRegion(
	AvlNet.Rectangle2D inRectangle,
	int inFrameWidth,
	int inFrameHeight,
	out AvlNet.Region outRegion,
	out AvlNet.Rectangle2D outAlignedRectangle
)

Parameters

inRectangle
Type: AvlNet.Rectangle2D
inFrameWidth
Type: System.Int32
Width of the created region's frame (not to be confused with the width of the rectangle!)
inFrameHeight
Type: System.Int32
Height of the created region's frame (not to be confused with the height of the rectangle!)
outRegion
Type: AvlNet.Region
Output region
outAlignedRectangle
Type: AvlNet.Rectangle2D

Remarks

See full override for more details.

See also