---
title: "init(rawValue:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nswindow/stylemask-swift.struct/init(rawvalue:)"
---

# init(rawValue:)

Creates a style mask using the given raw value.

## Declaration

```swift
init(rawValue: UInt)
```

## Parameters

- `rawValue`: The raw unsigned integer value of the style mask.
