You are here: Start » FIL.NET » Function Reference » Path » Path Global Transforms » FIL.StretchPath

FIL.StretchPath

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

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void StretchPath
(
	FilNet.Path inPath,
	FilNet.Point2D inNewEndpoint1,
	FilNet.Point2D inNewEndpoint2,
	FilNet.Path outPath
)

Parameters

Name Type Range Default Description
inPathFilNet.PathInput path, must be open.
inNewEndpoint1FilNet.Point2DNew starting point of the path.
inNewEndpoint2FilNet.Point2DNew ending point of the path.
outPathFilNet.PathOutput path.

Errors

List of possible exceptions:

Error type Description
DomainError Path cannot be closed in StretchPath.
DomainError Path too short in Stretch Path.

See also