LineProfile

References
public sealed class LineProfile : IComparable<LineProfile>
Represents a single line thickness setting.

Constructors

LineProfile

#
public LineProfile(int index, float offset)
Create a new line profile.
index (int)Point index.
offset (float)Offset on both sides.

LineProfile

#
public LineProfile(int index, float offset0, float offset1)
Create a new line profile.
index (int)Point index.
offset0 (float)Offset on left side.
offset1 (float)Offset on right side.

Properties

Index

#
public int Index { get; }
Gets the index of the point this profile is associated with.

Offset0

#
public float Offset0 { get; }
Gets the offset on side 0.

Offset1

#
public float Offset1 { get; }
Gets the offset on side 1.

Methods

CompareTo

#
public int CompareTo(LineProfile other)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
other (LineProfile)An object to compare with this instance.