Type Alias

NSFontWeight

System-defined font-weight values.

Declaration

typedef CGFloat NSFontWeight;

Topics

Font Weights

NSFontWeightUltraLight

The font weight for system ultra light font.

NSFontWeightThin

The font weight for system thin font.

NSFontWeightLight

The font weight for system light font.

NSFontWeightRegular

The font weight for system regular font.

NSFontWeightMedium

The font weight for system medium font.

NSFontWeightSemibold

The font weight for system semibold font.

NSFontWeightBold

The font weight for system bold font.

NSFontWeightHeavy

The font weight for system heavy font.

NSFontWeightBlack

The font weight for system black font.

See Also

Creating System Fonts

+ systemFontOfSize:

Returns the standard system font with the specified size.

+ systemFontOfSize:weight:

Returns the standard system font with the specified size and weight.

+ boldSystemFontOfSize:

Returns the standard system font in boldface type with the specified size.

+ monospacedSystemFontOfSize:weight:

Returns a monospace version of the system font with the specified size and weight.

+ monospacedDigitSystemFontOfSize:weight:

Returns a version of the standard system font that contains monospaced digit glyphs.

systemFontSize

Returns the size of the standard system font.

smallSystemFontSize

Returns the size of the standard small system font.