---
title: CTUnderlineStyle
framework: coretext
role: symbol
role_heading: Structure
path: coretext/ctunderlinestyle
---

# CTUnderlineStyle

Underline style specifiers.

## Declaration

```swift
struct CTUnderlineStyle
```

## Overview

Overview You can apply these underline style specifiers to the value that you set with the kCTUnderlineStyleAttributeName attribute. These specifiers control the underline style Core Text uses when rendering the text to which the attribute applies.

## Topics

### Constants

- [single](coretext/ctunderlinestyle/single.md)
- [thick](coretext/ctunderlinestyle/thick.md)
- [double](coretext/ctunderlinestyle/double.md)

### Initializers

- [init(rawValue:)](coretext/ctunderlinestyle/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Constants

- [String Attribute Name Constants](coretext/string-attribute-name-constants.md)
- [CTUnderlineStyleModifiers](coretext/ctunderlinestylemodifiers.md)
