---
title: linkRenderingAttributes
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nstextlayoutmanager/linkrenderingattributes
---

# linkRenderingAttributes

Returns the default set of attributes for rendering a link.

## Declaration

```swift
class var linkRenderingAttributes: [NSAttributedString.Key : Any] { get }
```

## Discussion

Discussion The base NSTextLayoutManager class returns with single for underlineStyle and the platform link color for foregroundColor. The platform color for macOS is linkColor. Other platforms uses blueColor.

## See Also

### Adjusting rendering

- [addRenderingAttribute(_:value:for:)](appkit/nstextlayoutmanager/addrenderingattribute(_:value:for:).md)
- [enumerateRenderingAttributes(from:reverse:using:)](appkit/nstextlayoutmanager/enumeraterenderingattributes(from:reverse:using:).md)
- [renderingAttributes(forLink:at:)](appkit/nstextlayoutmanager/renderingattributes(forlink:at:).md)
- [invalidateRenderingAttributes(for:)](appkit/nstextlayoutmanager/invalidaterenderingattributes(for:).md)
- [removeRenderingAttribute(_:for:)](appkit/nstextlayoutmanager/removerenderingattribute(_:for:).md)
- [setRenderingAttributes(_:for:)](appkit/nstextlayoutmanager/setrenderingattributes(_:for:).md)
