---
title: "NSDrawGroove(_:_:)"
framework: appkit
role: symbol
role_heading: Function
path: "appkit/nsdrawgroove(_:_:)"
---

# NSDrawGroove(_:_:)

Draws a gray-filled rectangle with a groove border.

## Declaration

```swift
func NSDrawGroove(_ rect: NSRect, _ clipRect: NSRect)
```

## Parameters

- `rect`: The bounding rectangle (in the current coordinate system) in which to draw. Only those parts of aRect that lie within the clipRect are actually drawn.
- `clipRect`: The clipping rectangle to use during drawing.

## See Also

### Drawing Rectangles

- [NSEraseRect(_:)](appkit/nseraserect(_:).md)
- [NSDrawTiledRects(_:_:_:_:_:)](appkit/nsdrawtiledrects(_:_:_:_:_:).md)
