textTabForGlyphLocation:writingDirection:maxLocation:
テキストタブを返します
-(NSTextTab *)textTabForGlyphLocation:(float)glyphLocation: writingDirection:(NSWritingDirection )direction: maxLocation:(float)maxLocation :
解説
テキストタブを返します。
【NSWritingDirection 】
●NSWritingDirectionLeftToRight
●NSWritingDirectionRightToLeft
Mac OS X v10.4以降使用不可です。
返り値
( NSTextTab * )
引数
( float )glyphLocation
( NSWritingDirection )direction
( float )maxLocation
フレームワーク
ApplicationKit
クラス
NSATSTypesetter
Instance Methods
使用可能
10.3
参照
例文
NSLog(@"textTabForGlyphLocation %@",[[atsTypesetter textTabForGlyphLocation:1.0 writingDirection:NSWritingDirectionLeftToRight maxLocation:3.0] description]);