patternPhase
レシーバを塗るときのオフセット値を返します
解説
レシーバを塗るときのオフセット値を返します。
返り値
( NSPoint )
なし
引数
フレームワーク
ApplicationKit
クラス
NSGraphicsContext
Instance Methods
使用可能
10.0
参照
- setPatternPhase:
例文
#import "Controller.h" @implementation Controller - (IBAction)pushButton:(id)sender { NSPoint point = [[NSApp context] patternPhase]; NSLog([NSString stringWithFormat:@"%f,%f",point.x,point.y]); } @end