# CurveExtension struct

Namespace: [Grasshopper2.Types.Assistant](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.types.assistant.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public struct CurveExtension
```

Describes the extension length and kind for curve ends.

## Constructors

- [CurveExtension](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.curveextension/ctor.md): Create a new curve extension.

## Properties

- [Length](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.curveextension/length.md): Gets the extension length. If negative, curve shortening is implied.
- [Style](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.curveextension/style.md): Gets the extension style.
- [Zero](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.curveextension/zero.md): (static) Gets a zero length extension.
