macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

NSFontクラス

INDEX>AppKit>NSFont

**

継承 NSObject
準拠 NSObject (NSObject)
フレームワーク /System/Library/Frameworks/AppKit.framework
使用可能 OS X 0.0以降
定義
インポート文 @import AppKit;


NSFont Class Reference

概要

メソッドとプロパティ

Using a Font to Draw

set
setInContext:

Getting General Font Information

coveredCharacterSet
fontDescriptor
isFixedPitch
Available in OS X v10.0 through OS X v10.9
mostCompatibleStringEncoding
renderingMode

Getting Information About Glyphs

glyphWithName:

Getting Font Names

displayName
familyName
fontName

Getting Corresponding Device Fonts

printerFont
screenFont
screenFontWithRenderingMode:

Vertical Fonts

isVertical
Available in OS X v10.7 through OS X v10.9
verticalFont

Data Types

NSGlyph
NSGlyphRelation
NSMultibyteGlyphPacking

Constants

NSFontRenderingMode

PostScript Transformation Matrix

NSMultibyteGlyphPacking

Reserved Glyph Codes

Keys to the AFM Dictionary

Notifications

NSAntialiasThresholdChangedNotification
NSFontSetChangedNotification

定数

参照

関連記事(外部サイト)

更新時バージョン