CTFontGetSymbolicTraits(_:)
Returns the symbolic traits of the given font.
Declaration
func CTFontGetSymbolicTraits(_ font: CTFont) -> CTFontSymbolicTraitsParameters
- font:
The font reference.
Return Value
The symbolic traits of the font. This is equivalent to the kCTFontSymbolicTrait value of the traits dictionary.
Discussion
See the Constants section of CTFontDescriptor for a definition of the font traits.