---
title: strokeWidth
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/attributescopes/appkitattributes/strokewidth
---

# strokeWidth

A property for accessing a stroke width attribute.

## Declaration

```swift
let strokeWidth: AttributeScopes.AppKitAttributes.StrokeWidthAttribute
```

## See Also

### Using Text Styling Attributes

- [baselineOffset](foundation/attributescopes/appkitattributes/baselineoffset.md)
- [obliqueness](foundation/attributescopes/appkitattributes/obliqueness.md)
- [shadow](foundation/attributescopes/appkitattributes/shadow.md)
- [strikethroughColor](foundation/attributescopes/appkitattributes/strikethroughcolor.md)
- [strikethroughStyle](foundation/attributescopes/appkitattributes/strikethroughstyle.md)
- [strokeColor](foundation/attributescopes/appkitattributes/strokecolor.md)
- [textEffect](foundation/attributescopes/appkitattributes/texteffect.md)
- [underlineColor](foundation/attributescopes/appkitattributes/underlinecolor.md)
- [underlineStyle](foundation/attributescopes/appkitattributes/underlinestyle.md)
