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.
function Segment(AStartCoordinate, AEndCoordinate: TTMSFNCMapsCoordinateRec): TTMSFNCMapsPolyline; 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.
function Segment(AStartIndex, AEndIndex: Integer): TTMSFNCMapsPolyline; overload;
Parameters
| Name | Description |
|---|---|
AStartIndex |
Zero-based item index. |
AEndIndex |
Zero-based item index. |
Returns
Created or resulting polyline instance.