# `GSHobbyType`

*Enumeration*

## Declaration

```swift
enum GSHobbyType
```

```objc
enum GSHobbyType : uint8_t;
```

```python
GSHobbyType
```

## Topics

### Enumeration Cases

- [`GSHobbyType.GSHobbyTypeCurl`](/Core/GlyphsCore/GSHobbyType/GSHobbyTypeCurl) — `leadingType` or `trailingType` when a curl is desired.
- [`GSHobbyType.GSHobbyTypeEndCycle`](/Core/GlyphsCore/GSHobbyType/GSHobbyTypeEndCycle) — `leadingType` when cycling back to the first point.
- [`GSHobbyType.GSHobbyTypeEndpoint`](/Core/GlyphsCore/GSHobbyType/GSHobbyTypeEndpoint) — `leadingType` at path beginning and `trailingType` at path end.
- [`GSHobbyType.GSHobbyTypeExplicit`](/Core/GlyphsCore/GSHobbyType/GSHobbyTypeExplicit) — `leadingType` or `trailingType` when control points are known.
- [`GSHobbyType.GSHobbyTypeGiven`](/Core/GlyphsCore/GSHobbyType/GSHobbyTypeGiven) — `leadingType` or `trailingType` when a direction is given.
- [`GSHobbyType.GSHobbyTypeOpen`](/Core/GlyphsCore/GSHobbyType/GSHobbyTypeOpen) — `leadingType` or `trailingType` when the METAPOST algorithm should choose the direction.

