Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

3bdfcaec a8fe 009a 8f2a 09fdf760a7ea

haplokuon edited this page May 6, 2023 · 1 revision

Distances Property

netDxf 3.0.0 Library

Gets the multiline vertex distances lists.

Definition

Namespace: netDxf.Entities
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public List<double>[] Distances { get; }

VB

Public ReadOnly Property Distances As List(Of Double)()
	Get

C++

public:
property array<List<double>^>^ Distances {
	array<List<double>^>^ get ();
}

F#

member Distances : List<float>[] with get

Property Value

List(Double)[]

Remarks

There is a list for every MLineStyle element, and every list contains an array of real values that parametrize the start and end point of every element of the style.

The first value (index 0) represents the distance from the segment vertex along the miter vector to the point where the line element's path intersects the miter vector.
The second value (index 1) is the distance along the line element's direction from the point, defined by the first value, to the actual start of the line element.
The successive values list the start and stop points of the line element breaks or cuts in this segment of the multiline.

See Also

Reference

MLineVertex Class
netDxf.Entities Namespace

Clone this wiki locally