---
title: NSBorderType
framework: appkit
role: symbol
role_heading: Enumeration
path: appkit/nsbordertype
---

# NSBorderType

These constants specify the type of a view’s border.

## Declaration

```swift
enum NSBorderType
```

## Topics

### Constants

- [NSBorderType.bezelBorder](appkit/nsbordertype/bezelborder.md)
- [NSBorderType.grooveBorder](appkit/nsbordertype/grooveborder.md)
- [NSBorderType.lineBorder](appkit/nsbordertype/lineborder.md)
- [NSBorderType.noBorder](appkit/nsbordertype/noborder.md)

### Initializers

- [init(rawValue:)](appkit/nsbordertype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Drawing the View’s Content

- [updateLayer()](appkit/nsview/updatelayer().md)
- [draw(_:)](appkit/nsview/draw(_:).md)
- [clipsToBounds](appkit/nsview/clipstobounds.md)
- [canDrawConcurrently](appkit/nsview/candrawconcurrently.md)
- [visibleRect](appkit/nsview/visiblerect.md)
- [getRectsBeingDrawn(_:count:)](appkit/nsview/getrectsbeingdrawn(_:count:).md)
- [needsToDraw(_:)](appkit/nsview/needstodraw(_:).md)
- [wantsDefaultClipping](appkit/nsview/wantsdefaultclipping.md)
- [bitmapImageRepForCachingDisplay(in:)](appkit/nsview/bitmapimagerepforcachingdisplay(in:).md)
- [cacheDisplay(in:to:)](appkit/nsview/cachedisplay(in:to:).md)
