Structure

NSFont.Weight

System-defined font-weight values.

Topics

Type Properties

static let black: NSFont.Weight

The font weight for system black font.

static let bold: NSFont.Weight

The font weight for system bold font.

static let heavy: NSFont.Weight

The font weight for system heavy font.

static let light: NSFont.Weight

The font weight for system light font.

static let medium: NSFont.Weight

The font weight for system medium font.

static let regular: NSFont.Weight

The font weight for system regular font.

static let semibold: NSFont.Weight

The font weight for system semibold font.

static let thin: NSFont.Weight

The font weight for system thin font.

static let ultraLight: NSFont.Weight

The font weight for system ultra light font.

Relationships

See Also

Creating System Fonts

class func boldSystemFont(ofSize: CGFloat) -> NSFont

Returns the Aqua system font used for standard interface items that are rendered in boldface type in the specified size.

class func controlContentFont(ofSize: CGFloat) -> NSFont

Returns the font used for the content of controls in the specified size.

class func labelFont(ofSize: CGFloat) -> NSFont

Returns the font used for standard interface labels in the specified size.

class func menuFont(ofSize: CGFloat) -> NSFont

Returns the font used for menu items, in the specified size.

class func menuBarFont(ofSize: CGFloat) -> NSFont

Returns the font used for menu bar items, in the specified size.

class func messageFont(ofSize: CGFloat) -> NSFont

Returns the font used for standard interface items, such as button labels, menu items, and so on, in the specified size.

class func paletteFont(ofSize: CGFloat) -> NSFont

Returns the font used for palette window title bars, in the specified size.

class func systemFont(ofSize: CGFloat) -> NSFont

Returns the Aqua system font used for standard interface items, such as button labels, menu items, and so on, in the specified size.

class func titleBarFont(ofSize: CGFloat) -> NSFont

Returns the font used for window title bars, in the specified size.

class func toolTipsFont(ofSize: CGFloat) -> NSFont

Returns the font used for tool tips labels, in the specified size.