# `GSShape.strokeHeight`

*Instance Property*

The vertical size expression used to expand the path into a stroke.

## Declaration

```swift
unowned(unsafe) var strokeHeight: AnyObject? { get set }
```

```objc
@property (nonatomic, assign) id strokeHeight;
```

```python
strokeHeight() -> object
setStrokeHeight_(strokeHeight: object)
```

## Discussion

The stroke width expression is returned when no separate height expression is set.

> **See Also**
> [`GSShapeKey.GSShapeKeyStrokeHeight`](/Core/GlyphsCore/GSShapeKey/GSShapeKeyStrokeHeight)

## See Also

### Stroke Style

- [`GSShape.strokeWidth`](/Core/GlyphsCore/GSShape/strokeWidth) — The horizontal size expression used to expand the path into a stroke.
- [`GSShape.strokePosition`](/Core/GlyphsCore/GSShape/strokePosition) — The stroke position from `-1` on the left to `1` on the right of the path direction.
- [`GSLineCapStyle`](/Core/GlyphsCore/GSLineCapStyle) — The construction used at an open stroke endpoint.
- [`GSShape.lineCapStart`](/Core/GlyphsCore/GSShape/lineCapStart) — The cap at the start of an open path.
- [`GSShape.lineCapEnd`](/Core/GlyphsCore/GSShape/lineCapEnd) — The cap at the end of an open path.
- [`GSLineJoinStyle`](/Core/GlyphsCore/GSLineJoinStyle) — The construction used to connect consecutive stroke segments.
- [`GSShape.lineJoin`](/Core/GlyphsCore/GSShape/lineJoin) — The construction used to connect consecutive stroke segments.
- [`GSShape.filled`](/Core/GlyphsCore/GSShape/filled) — Whether the path remains filled when it has a stroke.
- [`GSShape getStrokeSettingsWidth:height:pos:capStart:capEnd:join:fill:maskType:`](/Core/GlyphsCore/GSShape/getStrokeSettingsWidth:height:pos:capStart:capEnd:join:fill:maskType:) — Reads the shape’s stroke style into optional output parameters.

