---
title: CTRubyPosition
framework: coretext
role: symbol
role_heading: Enumeration
path: coretext/ctrubyposition
---

# CTRubyPosition

Constants that specify the position of the ruby text relative to to the base text.

## Declaration

```swift
enum CTRubyPosition
```

## Topics

### Constants

- [CTRubyPosition.before](coretext/ctrubyposition/before.md)
- [CTRubyPosition.after](coretext/ctrubyposition/after.md)
- [CTRubyPosition.interCharacter](coretext/ctrubyposition/intercharacter.md)
- [CTRubyPosition.inline](coretext/ctrubyposition/inline.md)
- [CTRubyPosition.count](coretext/ctrubyposition/count.md)

### Initializers

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

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Enumerations

- [CTFontDescriptorMatchingState](coretext/ctfontdescriptormatchingstate.md)
- [CTFontManagerAutoActivationSetting](coretext/ctfontmanagerautoactivationsetting.md)
- [CTFontManagerError](coretext/ctfontmanagererror.md)
- [CTFontManagerScope](coretext/ctfontmanagerscope.md)
- [CTLineBoundsOptions](coretext/ctlineboundsoptions.md)
- [CTRubyAlignment](coretext/ctrubyalignment.md)
- [CTRubyOverhang](coretext/ctrubyoverhang.md)
