Table of Contents

TTMSFNCBloxPolyLine.CalcNewHandles Method

Recalculates the handles of the line from the supplied geometry information.

API unit family: TMSFNCBloxCoreLine Declaring type: TTMSFNCBloxPolyLine Inherited from: TTMSFNCBloxLine

Overloads

Overload 1

Recalculates the handles of the line from the supplied geometry information.

procedure CalcNewHandles(AHandles: TTMSFNCBloxHandles; AInfo: TTMSFNCBloxCalcHandlesInfo); virtual;

Remarks

Override this method in descendants to implement a custom line algorithm. The base implementation dispatches to the routine matching the current line style.

Parameters

Name Description
AHandles The handle collection to recalculate and fill.
AInfo The endpoints, anchors, moved handle, and action driving the calculation.

Overload 2

Recalculates the poly line handles, keeping intermediate handles and moving only the endpoints or dragged handle as required.

procedure CalcNewHandles(AHandles: TTMSFNCBloxHandles; AInfo: TTMSFNCBloxCalcHandlesInfo); override;

Parameters

Name Description
AHandles The handle collection to update.
AInfo The endpoints, moved handle, delta, and action driving the calculation.