<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSFont/Width",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@T@NSFontWidth"
  },
  "title" : "NSFont.Width"
}
-->

# NSFont.Width

```
struct Width
```

## Topics

### Initializers

[`init(CGFloat)`](/documentation/AppKit/NSFont/Width/init(_:))

[`init(rawValue: CGFloat)`](/documentation/AppKit/NSFont/Width/init(rawValue:))

### Type Properties

[`static let compressed: NSFont.Width`](/documentation/AppKit/NSFont/Width/compressed)

[`static let condensed: NSFont.Width`](/documentation/AppKit/NSFont/Width/condensed)

[`static let expanded: NSFont.Width`](/documentation/AppKit/NSFont/Width/expanded)

[`static let standard: NSFont.Width`](/documentation/AppKit/NSFont/Width/standard)

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Escapable`](/documentation/Swift/Escapable)

[`Comparable`](/documentation/Swift/Comparable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Hashable`](/documentation/Swift/Hashable)

[`Copyable`](/documentation/Swift/Copyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Equatable`](/documentation/Swift/Equatable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)