UIFontDescriptorSymbolicTraits UIFontDescriptorSymbolicTraits Enum


Describes some stylistic properties of a typeface (lower 16 bits), and font appearance (top 16 bits), used with UIFontDescriptor.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

public enum UIFontDescriptorSymbolicTraits
type UIFontDescriptorSymbolicTraits = 


Bold Bold 2

Style is bold

ClassClarendonSerifs ClassClarendonSerifs 1073741824

Font appearance: Clarendon style of slab serifs (examples include fonts like Clarendon and Egyptienne).

ClassFreeformSerifs ClassFreeformSerifs 1879048192

Font appearance: Includes some serifs

ClassMask ClassMask 4026531840

Bitmask that can be used to isolate the font appearance from the typeface information.

ClassModernSerifs ClassModernSerifs 805306368

Font appearance: Modern serifs.

ClassOldStyleSerifs ClassOldStyleSerifs 268435456

Font appearance: Old style serifs.

ClassOrnamentals ClassOrnamentals 2415919104

Font appearance: Ornamental

ClassSansSerif ClassSansSerif 2147483648

Font appearance: Sans serifs.

ClassScripts ClassScripts 2684354560

Font appearance: Scripts.

ClassSlabSerifs ClassSlabSerifs 1342177280

Font appearance: Slab serifs.

ClassSymbolic ClassSymbolic 3221225472

Font appearance: symbolic.

ClassTransitionalSerifs ClassTransitionalSerifs 536870912

Font appearance: transitional serifs.

ClassUnknown ClassUnknown 0

Unknown font appearance.

Condensed Condensed 64

Typeface: Condensed (can not be used with expanded).

Expanded Expanded 32

Typeface: Expanded (can not be used with Condensed).

Italic Italic 1

Typeface: italic.

LooseLeading LooseLeading 65536

Typeface: uses looser leading values (spacing between text lines).

MonoSpace MonoSpace 1024

Typeface: is monospace.

TightLeading TightLeading 32768

Typeface: tight leading values (spacing between text lines).

UIOptimized UIOptimized 4096

Typeface: is optimized for rendering UI controls.

Vertical Vertical 2048

Typeface: contains vertical glyphs and metrics.

Applies to