titleBarFont(ofSize:)
Returns the font used for window title bars, in the specified size.
Declaration
class func titleBarFont(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 title bar font at the default size. This method is equivalent to boldSystemFont(ofSize:).