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

# NSStrokeColorAttributeName

The color of the stroke.

## Declaration

```occ
extern NSAttributedStringKey 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](appkit/nsbackgroundcolorattributename.md)
- [NSBaselineOffsetAttributeName](appkit/nsbaselineoffsetattributename.md)
- [NSFontAttributeName](appkit/nsfontattributename.md)
- [NSForegroundColorAttributeName](appkit/nsforegroundcolorattributename.md)
- [NSGlyphInfoAttributeName](appkit/nsglyphinfoattributename.md)
- [NSKernAttributeName](appkit/nskernattributename.md)
- [NSLigatureAttributeName](appkit/nsligatureattributename.md)
- [NSParagraphStyleAttributeName](appkit/nsparagraphstyleattributename.md)
- [NSStrikethroughColorAttributeName](appkit/nsstrikethroughcolorattributename.md)
- [NSStrikethroughStyleAttributeName](appkit/nsstrikethroughstyleattributename.md)
- [NSStrokeWidthAttributeName](appkit/nsstrokewidthattributename.md)
- [NSSuperscriptAttributeName](appkit/nssuperscriptattributename.md)
- [NSTrackingAttributeName](appkit/nstrackingattributename.md)
- [NSUnderlineColorAttributeName](appkit/nsunderlinecolorattributename.md)
- [NSUnderlineStyleAttributeName](appkit/nsunderlinestyleattributename.md)
