macOS/iOS API解説

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

目次

hyphenCharacterForGlyphAtIndex:

-(UTF32Char)hyphenCharacterForGlyphAtIndex:(unsigned)glyphIndex:

解説

指定したグリフ番号で
サブクラスでオーバーライドできます。

返り値

( UTF32Char )

UTF32文字

引数

( unsigned )glyphIndex

グリフ番号

フレームワーク

ApplicationKit

クラス

NSATSTypesetter

Instance Methods

使用可能

10.3

参照

-hyphenationFactorForGlyphAtIndex:

例文

NSLog([NSString stringWithFormat:@"%d",[atsTypesetter hyphenCharacterForGlyphAtIndex:100]]);