You are here: Start » FIL.NET » Invoke.ResizeSegment

Invoke.ResizeSegment

Lengthens or shortens a segment to a new length preserving its orientation and center point.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void ResizeSegment
(
	Fil.Segment2D inSegment,
	float inNewLength,
	float inAnchor,
	out Fil.Segment2D outSegment
)

Parameters

Name Type Range Default Description
inSegmentFil.Segment2D
inNewLengthfloat<0.0f, INF>1.0fDefault value: 1.0f.
inAnchorfloat<-INF, INF>0.5fDefault value: 0.5f.
outSegmentFil.Segment2D

See also