<!--
{
  "availability" : [
    "iOS: 3.2.0 -",
    "iPadOS: 3.2.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.5.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "QuartzCore",
  "identifier" : "/documentation/QuartzCore/CATextLayerAlignmentMode",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Animation"
    ],
    "preciseIdentifier" : "c:@T@CATextLayerAlignmentMode"
  },
  "title" : "CATextLayerAlignmentMode"
}
-->

# CATextLayerAlignmentMode

```
struct CATextLayerAlignmentMode
```

## Topics

### Initializers

[`init(rawValue:)`](/documentation/QuartzCore/CATextLayerAlignmentMode/init(rawValue:))

### Type Properties

[`center`](/documentation/QuartzCore/CATextLayerAlignmentMode/center)

Text is visually center aligned.

[`justified`](/documentation/QuartzCore/CATextLayerAlignmentMode/justified)

Text is justified.

[`left`](/documentation/QuartzCore/CATextLayerAlignmentMode/left)

Text is visually left aligned.

[`natural`](/documentation/QuartzCore/CATextLayerAlignmentMode/natural)

Use the natural alignment of the text’s script.

[`right`](/documentation/QuartzCore/CATextLayerAlignmentMode/right)

Text is visually right aligned.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)