| Home 目次>ApplicationKit>NSGraphicsContext | |
patternPhase
レシーバを塗るときのオフセット値を返します
-(NSPoint) patternPhase
【返り値】 | |
| NSPoint | なし |
【解説】
レシーバを塗るときのオフセット値を返します。
【例文】
#import "Controller.h"
@implementation Controller
- ( IBAction )pushButton:( id )sender
{
NSPoint point = [[NSApp context] patternPhase];
NSLog([NSString stringWithFormat: @"%f,%f" ,point.x,point.y]);
}
@end
![]() | |
この記事を評価してください。
| Home 目次>ApplicationKit>NSGraphicsContext | 修正日2006.12.26 |