# `GSShape.strokePaint`

*Instance Property*

The effective stroke paint.

## Declaration

```swift
var strokePaint: Any? { get set }
```

```objc
@property (nonatomic, strong) id strokePaint;
```

```python
strokePaint() -> object
setStrokePaint_(strokePaint: object)
```

## Discussion

Either an `NSColor` for a solid color paint, `GSGradient` for a gradient paint, or `nil` for no paint.

## See Also

### Stroke Paint

- [`GSShape.strokeColor`](/Core/GlyphsCore/GSShape/strokeColor) — The solid color used for the stroke.
- [`GSShape.strokeGradient`](/Core/GlyphsCore/GSShape/strokeGradient) — The gradient used for the stroke.

