CreatePathBorderRegion


Creates a region along a given path. The region may be internal or external to the path.

Syntax

C++
Python
 
def CreatePathBorderRegion(
	inPath: Path,
	inBorderWidth: float,
	inFrameWidth: int,
	inFrameHeight: int,
	outRegion: Region,
	/,
	*,
	inPathAlignment: CoordinateSystem2D | None = None,
	inBorderPosition: BorderPosition = BorderPosition.Centered,
	outAlignedPath: Path | None = None
)
-> None

Parameters

Name Type Range Default Description
Input value inPath Path Input path
Input value inPathAlignment CoordinateSystem2D | None None Adjusts the path to the position of the inspected object
Input value inBorderWidth float 1.0 -
Input value inBorderPosition BorderPosition BorderPosition.Centered
Input value inFrameWidth int 0 - 65535 Width of the created region's frame
Input value inFrameHeight int 0 - 65535 Height of the created region's frame
Output value outRegion Region Output region
Output value outAlignedPath Path | None None The input path transformed to the absolute coordinate system