UIFontDescriptorSymbolicTraits Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum UIFontDescriptorSymbolicTraits
type UIFontDescriptorSymbolicTraits = 
Inheritance
UIFontDescriptorSymbolicTraits
Attributes

Fields

Bold 2

Style is bold

ClassClarendonSerifs 1073741824

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

ClassFreeformSerifs 1879048192

Font appearance: Includes some serifs

ClassMask 4026531840

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

ClassModernSerifs 805306368

Font appearance: Modern serifs.

ClassOldStyleSerifs 268435456

Font appearance: Old style serifs.

ClassOrnamentals 2415919104

Font appearance: Ornamental

ClassSansSerif 2147483648

Font appearance: Sans serifs.

ClassScripts 2684354560

Font appearance: Scripts.

ClassSlabSerifs 1342177280

Font appearance: Slab serifs.

ClassSymbolic 3221225472

Font appearance: symbolic.

ClassTransitionalSerifs 536870912

Font appearance: transitional serifs.

ClassUnknown 0

Unknown font appearance.

Condensed 64

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

Expanded 32

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

Italic 1

Typeface: italic.

LooseLeading 65536

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

MonoSpace 1024

Typeface: is monospace.

TightLeading 32768

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

UIOptimized 4096

Typeface: is optimized for rendering UI controls.

Vertical 2048

Typeface: contains vertical glyphs and metrics.

Applies to