# LineProfile class

Namespace: [Grasshopper2.Extensions](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.extensions.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class LineProfile : IComparable<LineProfile>
```

Represents a single line thickness setting.

## Constructors

- [LineProfile](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.lineprofile/ctor.md): (2 overloads) Create a new line profile.

## Properties

- [Index](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.lineprofile/index.md): Gets the index of the point this profile is associated with.
- [Offset0](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.lineprofile/offset0.md): Gets the offset on side 0.
- [Offset1](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.lineprofile/offset1.md): Gets the offset on side 1.

## Methods

- [CompareTo](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.lineprofile/compareto.md): 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.
