Contents

boldSystemFont(ofSize:)

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

Declaration

class func boldSystemFont(ofSize fontSize: CGFloat) -> NSFont

Parameters

  • fontSize:

    The desired font size specified in points. If you specify 0.0 or a negative number for this parameter, the method returns the system font at the default size.

Return Value

A font object of the specified size.

Discussion

If fontSize is 0 or negative, returns the boldface system font at the default size.

See Also

Related Documentation

Creating System Fonts