NSFrameRectWithWidth
線幅を指定して矩形を描画します
void NSFrameRectWithWidth ( NSRect aRect , float frameWidth );
解説
線幅を指定して矩形を描画します。
返り値
引数
( NSRect )aRect
( float )frameWidth
フレームワーク
ApplicationKit
クラス
NSFrameRectWithWidth
Function
使用可能
10.0
参照
NSDrawTiledRects
例文
#import "MyView.h" //NSViewのサブクラスMyView //drawRectをオーバーライド @implementation MyView - (void)drawRect:(NSRect)frameRect { NSFrameRectWithWidth(NSMakeRect(10,10,200,200),2.0); } @end