CreateLineRegion


Creates a line region.

Syntax

C++
Python
 
def CreateLineRegion(
	inLine: Line2D,
	inWidth: float,
	inFrameWidth: int,
	inFrameHeight: int,
	outRegion: Region,
	/,
	*,
	inLineAlignment: CoordinateSystem2D | None = None,
	outAlignedLine: Line2D | None = None
)
-> None

Parameters

Name Type Range Default Description
Input value inLine Line2D
Input value inLineAlignment CoordinateSystem2D | None None
Input value inWidth float 1.0 - Width of output region line
Input value inFrameWidth int 0 - 65535
Input value inFrameHeight int 0 - 65535
Output value outRegion Region Output region
Output value outAlignedLine Line2D | None None