Skip to main content
Table of Contents

TTMSFNCMapsPolyline.Segment Method

Creates a polyline segment between the specified coordinates or indexes.

API unit family: TMSFNCMaps Declaring type: TTMSFNCMapsPolyline

Overloads

Overload 1

Creates a polyline segment between the specified coordinates or indexes.

FMX.TMSFNCMaps.hppPascalC++
function Segment(AStartCoordinate, AEndCoordinate: TTMSFNCMapsCoordinateRec): TTMSFNCMapsPolyline; overload;
TTMSFNCMapsPolyline* __fastcall Segment(const TTMSFNCMapsCoordinateRec &AStartCoordinate, const TTMSFNCMapsCoordinateRec &AEndCoordinate)/* overload */;

Parameters

Name Description
AStartCoordinate Coordinate value used by the operation.
AEndCoordinate Coordinate value used by the operation.

Returns

Converted coordinate value.

Overload 2

Creates a polyline segment between the specified coordinates or indexes.

FMX.TMSFNCMaps.hppPascalC++
function Segment(AStartIndex, AEndIndex: Integer): TTMSFNCMapsPolyline; overload;
TTMSFNCMapsPolyline* __fastcall Segment(int AStartIndex, int AEndIndex)/* overload */;

Parameters

Name Description
AStartIndex Zero-based item index.
AEndIndex Zero-based item index.

Returns

Created or resulting polyline instance.