menuBarFont(ofSize:)
Returns the font used for menu bar items, in the specified size.
Declaration
class func menuBarFont(ofSize fontSize: CGFloat) -> NSFontParameters
- fontSize:
The size in points to which the font is scaled.
Return Value
A font object of the specified size.
Discussion
If fontSize is 0 or negative, returns the menu bar font with the default size.