You are here: Start » AVL.NET » AVL.CreatePathBorderRegion Method

AVL.CreatePathBorderRegion Method

Creates a region from a path with given parameters.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CreatePathBorderRegion(
	AvlNet.Path inPath,
	AvlNet.CoordinateSystem2D? inPathAlignment,
	float inBorderWidth,
	AvlNet.BorderPosition inBorderPosition,
	int inFrameWidth,
	int inFrameHeight,
	out AvlNet.Region outRegion,
	out AvlNet.Path outAlignedPath
)

Parameters

Name Type Range Default Description
inPathAvlNet.PathInput path.
inPathAlignmentAvlNet.CoordinateSystem2D?Adjusts the path to the position of the inspected object. Default value: atl::NIL, or null.
inBorderWidthfloat<0.0f, INF>1.0fDefault value: 1.0f.
inBorderPositionAvlNet.BorderPositionCenteredDefault value: Centered.
inFrameWidthint<0, INF>Width of the created region's frame.
inFrameHeightint<0, INF>Height of the created region's frame.
outRegionAvlNet.RegionOutput region.
outAlignedPathAvlNet.PathThe input path transformed to the absolute coordinate system

See also