<!--
{
  "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

[`let kCMTextFormatDescriptionColor_Red: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionColor_Red)

The color value for red is a number.

[`let kCMTextFormatDescriptionColor_Green: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionColor_Green)

The color value for green is a number.

[`let kCMTextFormatDescriptionColor_Blue: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionColor_Blue)

The color value for blue is a number.

[`let kCMTextFormatDescriptionColor_Alpha: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionColor_Alpha)

The color value for the alpha is a number.

[`let kCMTextFormatDescriptionRect_Top: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionRect_Top)

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

[`let kCMTextFormatDescriptionRect_Left: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionRect_Left)

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

[`let kCMTextFormatDescriptionRect_Bottom: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionRect_Bottom)

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

[`let kCMTextFormatDescriptionRect_Right: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionRect_Right)

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

[`let kCMTextFormatDescriptionStyle_StartChar: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionStyle_StartChar)

The style value for the starting character.

[`let kCMTextFormatDescriptionStyle_Font: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionStyle_Font)

The style value for font.

[`let kCMTextFormatDescriptionStyle_FontFace: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionStyle_FontFace)

The style value for font face.

[`let kCMTextFormatDescriptionStyle_ForegroundColor: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionStyle_ForegroundColor)

The style value for foreground color.

[`let kCMTextFormatDescriptionStyle_EndChar: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionStyle_EndChar)

The style value for the ending character.

[`let kCMTextFormatDescriptionStyle_Height: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionStyle_Height)

The style value for the height.

[`let kCMTextFormatDescriptionStyle_Ascent: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionStyle_Ascent)

The style value for the ascent.

[`let kCMTextFormatDescriptionStyle_FontSize: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionStyle_FontSize)

The style value for the font size.

### Description Extension Constants

[`let kCMTextFormatDescriptionExtension_DisplayFlags: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionExtension_DisplayFlags)

The extension flag that represents the display flags.

[`let kCMTextFormatDescriptionExtension_BackgroundColor: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionExtension_BackgroundColor)

The extension flag that represents the background color.

[`let kCMTextFormatDescriptionExtension_DefaultTextBox: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionExtension_DefaultTextBox)

The extension flag that represents the default text box.

[`let kCMTextFormatDescriptionExtension_DefaultStyle: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionExtension_DefaultStyle)

The extension flag that represents the default style.

[`let kCMTextFormatDescriptionExtension_HorizontalJustification: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionExtension_HorizontalJustification)

The extension flag that represents the horizontal justification.

[`let kCMTextFormatDescriptionExtension_VerticalJustification: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionExtension_VerticalJustification)

The extension flag that represents the vertical justification.

[`let kCMTextFormatDescriptionExtension_FontTable: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionExtension_FontTable)

The extension flag that represents the font table.

[`let kCMTextFormatDescriptionExtension_TextJustification: CFString`](/documentation/CoreMedia/kCMTextFormatDescriptionExtension_TextJustification)

The extension flag that represents the text justification.

[`let kCMTextFormatDescriptionExtension_DefaultFontName: CFString`](/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)