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

# strokeWidth

A property for accessing a stroke width attribute.

## Declaration

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

## See Also

### Using Text Styling Attributes

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