textTabForGlyphLocation:writingDirection:maxLocation:
テキストタブを返します
-(NSTextTab *)textTabForGlyphLocation:(float)glyphLocation: writingDirection:(NSWritingDirection)direction: maxLocation:(float)maxLocation:
解説
タイプセッターでタブを含む場合に呼び出されます。
テキストタブを返します。
返り値
( NSTextTab * )
テキストタブ
引数
( float )glyphLocation
( NSWritingDirection )direction
( float )maxLocation
フレームワーク
ApplicationKit
クラス
NSTypesetter
Instance Methods
使用可能
10.4
参照
例文
//テキストタブの位置を返します。 - (NSTextTab *)textTabForGlyphLocation:(float)glyphLocation writingDirection:(NSWritingDirection)direction maxLocation:(float)maxLocation; { NSTextTab *textTab = [super textTabForGlyphLocation:(float)glyphLocation writingDirection:(NSWritingDirection)direction maxLocation:(float)maxLocation]; NSLog(@"-textTabForGlyphLocation %@",[textTab description]); return textTab; }