kCTSuperscriptAttributeName
Controls vertical text positioning.
Declaration
let kCTSuperscriptAttributeName: CFStringDiscussion
Value must be a CFNumber object. Default is integer value 0. If supported by the specified font, a value of 1 enables superscripting and a value of -1 enables subscripting.
See Also
Constants
kCTCharacterShapeAttributeNamekCTFontAttributeNamekCTKernAttributeNamekCTLigatureAttributeNamekCTForegroundColorAttributeNamekCTForegroundColorFromContextAttributeNamekCTParagraphStyleAttributeNamekCTStrokeWidthAttributeNamekCTStrokeColorAttributeNamekCTUnderlineColorAttributeNamekCTUnderlineStyleAttributeNamekCTVerticalFormsAttributeNamekCTGlyphInfoAttributeNamekCTRunDelegateAttributeNamekCTBaselineOffsetAttributeName