---
title: CTUnderlineStyleModifiers
framework: coretext
role: symbol
role_heading: Structure
path: coretext/ctunderlinestylemodifiers
---

# CTUnderlineStyleModifiers

Underline style modifiers.

## Declaration

```swift
struct CTUnderlineStyleModifiers
```

## Overview

Overview You can apply these underline style modifiers to the underline style (CTUnderlineStyle) that you set with the kCTUnderlineStyleAttributeName attribute. These modifiers control the pattern of the underline.

## Topics

### Constants

- [patternSolid](coretext/ctunderlinestylemodifiers/patternsolid.md)
- [patternDot](coretext/ctunderlinestylemodifiers/patterndot.md)
- [patternDash](coretext/ctunderlinestylemodifiers/patterndash.md)
- [patternDashDot](coretext/ctunderlinestylemodifiers/patterndashdot.md)
- [patternDashDotDot](coretext/ctunderlinestylemodifiers/patterndashdotdot.md)

### Initializers

- [init(rawValue:)](coretext/ctunderlinestylemodifiers/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)
- [CTUnderlineStyle](coretext/ctunderlinestyle.md)
