<!--
{
  "documentType" : "article",
  "framework" : "CoreMedia",
  "identifier" : "/documentation/CoreMedia/text-format-description-constants",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Text Format Description Constants"
}
-->

# Text Format Description Constants

Constants that identify text format descriptions.

## Topics

### Description Constants

[`kCMTextFormatDescriptionColor_Red`](/documentation/CoreMedia/kCMTextFormatDescriptionColor_Red)

The color value for red is a number.

[`kCMTextFormatDescriptionColor_Green`](/documentation/CoreMedia/kCMTextFormatDescriptionColor_Green)

The color value for green is a number.

[`kCMTextFormatDescriptionColor_Blue`](/documentation/CoreMedia/kCMTextFormatDescriptionColor_Blue)

The color value for blue is a number.

[`kCMTextFormatDescriptionColor_Alpha`](/documentation/CoreMedia/kCMTextFormatDescriptionColor_Alpha)

The color value for the alpha is a number.

[`kCMTextFormatDescriptionRect_Top`](/documentation/CoreMedia/kCMTextFormatDescriptionRect_Top)

The top value for the rect as a 16-bit number.

[`kCMTextFormatDescriptionRect_Left`](/documentation/CoreMedia/kCMTextFormatDescriptionRect_Left)

The left value for the rect as a 16-bit number.

[`kCMTextFormatDescriptionRect_Bottom`](/documentation/CoreMedia/kCMTextFormatDescriptionRect_Bottom)

The bottom value for the rect as a 16-bit number.

[`kCMTextFormatDescriptionRect_Right`](/documentation/CoreMedia/kCMTextFormatDescriptionRect_Right)

The right value for the rect as a 16-bit number.

[`kCMTextFormatDescriptionStyle_StartChar`](/documentation/CoreMedia/kCMTextFormatDescriptionStyle_StartChar)

The style value for the starting character.

[`kCMTextFormatDescriptionStyle_Font`](/documentation/CoreMedia/kCMTextFormatDescriptionStyle_Font)

The style value for font.

[`kCMTextFormatDescriptionStyle_FontFace`](/documentation/CoreMedia/kCMTextFormatDescriptionStyle_FontFace)

The style value for font face.

[`kCMTextFormatDescriptionStyle_ForegroundColor`](/documentation/CoreMedia/kCMTextFormatDescriptionStyle_ForegroundColor)

The style value for foreground color.

[`kCMTextFormatDescriptionStyle_EndChar`](/documentation/CoreMedia/kCMTextFormatDescriptionStyle_EndChar)

The style value for the ending character.

[`kCMTextFormatDescriptionStyle_Height`](/documentation/CoreMedia/kCMTextFormatDescriptionStyle_Height)

The style value for the height.

[`kCMTextFormatDescriptionStyle_Ascent`](/documentation/CoreMedia/kCMTextFormatDescriptionStyle_Ascent)

The style value for the ascent.

[`kCMTextFormatDescriptionStyle_FontSize`](/documentation/CoreMedia/kCMTextFormatDescriptionStyle_FontSize)

The style value for the font size.

### Description Extension Constants

[`kCMTextFormatDescriptionExtension_DisplayFlags`](/documentation/CoreMedia/kCMTextFormatDescriptionExtension_DisplayFlags)

The extension flag that represents the display flags.

[`kCMTextFormatDescriptionExtension_BackgroundColor`](/documentation/CoreMedia/kCMTextFormatDescriptionExtension_BackgroundColor)

The extension flag that represents the background color.

[`kCMTextFormatDescriptionExtension_DefaultTextBox`](/documentation/CoreMedia/kCMTextFormatDescriptionExtension_DefaultTextBox)

The extension flag that represents the default text box.

[`kCMTextFormatDescriptionExtension_DefaultStyle`](/documentation/CoreMedia/kCMTextFormatDescriptionExtension_DefaultStyle)

The extension flag that represents the default style.

[`kCMTextFormatDescriptionExtension_HorizontalJustification`](/documentation/CoreMedia/kCMTextFormatDescriptionExtension_HorizontalJustification)

The extension flag that represents the horizontal justification.

[`kCMTextFormatDescriptionExtension_VerticalJustification`](/documentation/CoreMedia/kCMTextFormatDescriptionExtension_VerticalJustification)

The extension flag that represents the vertical justification.

[`kCMTextFormatDescriptionExtension_FontTable`](/documentation/CoreMedia/kCMTextFormatDescriptionExtension_FontTable)

The extension flag that represents the font table.

[`kCMTextFormatDescriptionExtension_TextJustification`](/documentation/CoreMedia/kCMTextFormatDescriptionExtension_TextJustification)

The extension flag that represents the text justification.

[`kCMTextFormatDescriptionExtension_DefaultFontName`](/documentation/CoreMedia/kCMTextFormatDescriptionExtension_DefaultFontName)

The extension flag that represents the default font name.



---

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)