I am retrieving a value from NSFontPanel, which changes the font family, style of text. But I want only Font Style and color separately that I have selected from NSFontPanel.
How can i set font attributes开发者_如何学JAVA of NSFontPanel, like color, bold etc ?Colors are actually not in the font panel, are they? The font can be changed with this method:
I Believe Frank Sinatra 专辑:Say Wonderful Things 语种: 英语 流派:R&B 唱片公司:DcE Music
I have a preferences panel in my application in which I have a NSColorWell for setting some background color and a button which opens an NSFontPanel for choosing a font.