Contents

paletteFont(ofSize:)

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

Declaration

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

Parameters

  • 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 palette title font at the default size.

See Also

Related Documentation

Creating UI Element Fonts