StretchPath


Moves, rotates and scales the path so that its end-points end up at the given two points.

Syntax

C++
C#
Python
 
def StretchPath(
	inPath: Path,
	inNewEndpoint1: Point2D,
	inNewEndpoint2: Point2D,
	outPath: Path,
	/
)
-> None

Parameters

Name Type Default Description
Input value inPath Path Input path, must be open
Input value inNewEndpoint1 Point2D New starting point of the path
Input value inNewEndpoint2 Point2D New ending point of the path
Output value outPath Path Output path