Bearbeiten

Freigeben über


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

Name Value Description
ClassUnknown 0

Unknown font appearance.

Italic 1

Typeface: italic.

Bold 2

Style is bold

Expanded 32

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

Condensed 64

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

MonoSpace 1024

Typeface: is monospace.

Vertical 2048

Typeface: contains vertical glyphs and metrics.

UIOptimized 4096

Typeface: is optimized for rendering UI controls.

TightLeading 32768

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

LooseLeading 65536

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

ClassOldStyleSerifs 268435456

Font appearance: Old style serifs.

ClassTransitionalSerifs 536870912

Font appearance: transitional serifs.

ClassModernSerifs 805306368

Font appearance: Modern serifs.

ClassClarendonSerifs 1073741824

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

ClassSlabSerifs 1342177280

Font appearance: Slab serifs.

ClassFreeformSerifs 1879048192

Font appearance: Includes some serifs

ClassSansSerif 2147483648

Font appearance: Sans serifs.

ClassOrnamentals 2415919104

Font appearance: Ornamental

ClassScripts 2684354560

Font appearance: Scripts.

ClassSymbolic 3221225472

Font appearance: symbolic.

ClassMask 4026531840

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

Applies to