NSFontManagerクラス
**
継承 | NSObject |
準拠 | NSObject (NSObject) |
フレームワーク | /System/Library/Frameworks/AppKit.framework |
使用可能 | OS X 10.0以降 |
定義 | |
インポート文 | @import AppKit; |
概要
メソッドとプロパティ
Getting the Shared Font Manager
+ sharedFontManager
Changing the Default Font Conversion Classes
+ setFontManagerFactory:
+ setFontPanelFactory:
Getting Available Fonts
- availableFonts
- availableFontFamilies
- availableFontNamesWithTraits:
- availableMembersOfFontFamily:
Setting and Examining the Selected Font
- setSelectedFont:isMultiple:
- selectedFont
- isMultiple
Available in OS X v10.0 through OS X v10.9
- sendAction
- localizedNameForFamily:face:
Sending Action Methods
- addFontTrait:
- removeFontTrait:
- modifyFont:
- modifyFontViaPanel:
- orderFrontStylesPanel:
- orderFrontFontPanel:
Converting Fonts Automatically
- convertFont:
changeFont:
Converting Fonts Manually
- convertFont:toFace:
- convertFont:toFamily:
- convertFont:toHaveTrait:
- convertFont:toNotHaveTrait:
- convertFont:toSize:
- convertWeight:ofFont:
- currentFontAction
- convertFontTraits:
Getting a Particular Font
- fontWithFamily:traits:weight:size:
Examining Fonts
- traitsOfFont:
- fontNamed:hasTraits:
- weightOfFont:
Managing the Font Panel and Font Menu
- enabled
- isEnabled
Available in OS X v10.0 through OS X v10.9
fontManager:willIncludeFont:
(OS X v10.11)
- fontPanel:
- setFontMenu:
- fontMenu:
Accessing the Action Method
- action
- action
- target
- target
Setting Attributes
- setSelectedAttributes:isMultiple:
- convertAttributes:
Working with Font Descriptors
- availableFontNamesMatchingFontDescriptor:
(OS X v10.11)
- collectionNames
(OS X v10.11)
- fontDescriptorsInCollection:
(OS X v10.11)
- addCollection:options:
(OS X v10.11)
- removeCollection:
(OS X v10.11)
- addFontDescriptors:toCollection:
(OS X v10.11)
- removeFontDescriptor:fromCollection:
(OS X v10.11)
Data Types
NSFontTraitMask
NSFontAction
Constants
Font Collection Mask
Font traits
定数
参照
更新時バージョン
OS X 10.11