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 | |
|---|---|---|---|---|
![]() |
inPath | Path | Input path, must be open | |
![]() |
inNewEndpoint1 | Point2D | New starting point of the path | |
![]() |
inNewEndpoint2 | Point2D | New ending point of the path | |
![]() |
outPath | Path | Output path |


