---
title: NSStrokeColorAttributeName
framework: uikit
role: symbol
role_heading: Global Variable
path: uikit/nsstrokecolorattributename
---

# NSStrokeColorAttributeName

The color of the stroke.

## Declaration

```occ
extern NSAttributedStringKey const NSStrokeColorAttributeName;
```

## Overview

Overview The value of this parameter is a UIColor object. If it is not defined (which is the case by default), it is assumed to be the same as the value of NSForegroundColorAttributeName; otherwise, it describes the outline color. For more details, see Drawing attributed strings that are both filled and stroked.

## See Also

### Getting rendering attribute keys

- [NSBackgroundColorAttributeName](uikit/nsbackgroundcolorattributename.md)
- [NSBaselineOffsetAttributeName](uikit/nsbaselineoffsetattributename.md)
- [NSFontAttributeName](uikit/nsfontattributename.md)
- [NSForegroundColorAttributeName](uikit/nsforegroundcolorattributename.md)
- [NSKernAttributeName](uikit/nskernattributename.md)
- [NSLigatureAttributeName](uikit/nsligatureattributename.md)
- [NSParagraphStyleAttributeName](uikit/nsparagraphstyleattributename.md)
- [NSStrikethroughColorAttributeName](uikit/nsstrikethroughcolorattributename.md)
- [NSStrikethroughStyleAttributeName](uikit/nsstrikethroughstyleattributename.md)
- [NSStrokeWidthAttributeName](uikit/nsstrokewidthattributename.md)
- [NSTrackingAttributeName](uikit/nstrackingattributename.md)
- [NSUnderlineColorAttributeName](uikit/nsunderlinecolorattributename.md)
- [NSUnderlineStyleAttributeName](uikit/nsunderlinestyleattributename.md)
- [NSWritingDirectionAttributeName](uikit/nswritingdirectionattributename.md)
