You are here: Start » AVL.NET » AVL.CreatePolygonRegion(AvlNet.Path, AvlNet.CoordinateSystem2D?, int, int, AvlNet.Region)

AVL.CreatePolygonRegion(AvlNet.Path, AvlNet.CoordinateSystem2D?, int, int, AvlNet.Region)

Creates a polygonal region corresponding to a given closed path.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void CreatePolygonRegion(
	AvlNet.Path inPolygon,
	AvlNet.CoordinateSystem2D? inPolygonAlignment,
	int inFrameWidth,
	int inFrameHeight,
	out AvlNet.Region outRegion
)

Parameters

inPolygon
Type: AvlNet.Path
inPolygonAlignment
Type: System.Nullable<AvlNet.CoordinateSystem2D>
Adjusts the polygon to the position of the inspected object, or null.
inFrameWidth
Type: System.Int32
Width of the created region's frame
inFrameHeight
Type: System.Int32
Height of the created region's frame
outRegion
Type: AvlNet.Region
Output region

Remarks

See full override for more details.

See also