Show / Hide Table of Contents

Class MLineVertex

Represents a MLine vertex.

Inheritance
System.Object
MLineVertex
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: netDxf.Entities
Assembly: CADability.dll
Syntax
public class MLineVertex

Properties

| Improve this Doc View Source

Direction

Gets the MLine vertex direction.

Declaration
public Vector2 Direction { get; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

Distances

Gets the MLine vertex distances lists.

Declaration
public List<double>[] Distances { get; }
Property Value
Type Description
System.Collections.Generic.List<System.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.

| Improve this Doc View Source

Miter

Gets the MLine vertex miter.

Declaration
public Vector2 Miter { get; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

Position

Gets the MLine vertex position.

Declaration
public Vector2 Position { get; set; }
Property Value
Type Description
Vector2
Remarks

If this property is modified the function MLine.CalculateVertexesInfo() will need to be called manually to update the internal information.

Methods

| Improve this Doc View Source

Clone()

Creates a new MLineVertex that is a copy of the current instance.

Declaration
public object Clone()
Returns
Type Description
System.Object

A new MLineVertex that is a copy of this instance.

| Improve this Doc View Source

ToString()

Converts the value of this instance to its equivalent string representation.

Declaration
public override string ToString()
Returns
Type Description
System.String

The string representation.

Overrides
System.Object.ToString()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX