macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

NSGradient

numberOfColorStops

グラデーションオブジェクトにカラーがいくつセットされているかを返します 解説 グラデーションオブジェクトにカラーがいくつセットされているかを返します。 返り値 ( NSInteger ) 引数 フレームワーク ApplicationKit クラス NSGradient 使用可能 10.5 参…

interpolatedColorAtLocation:

グラデーションオブジェクトの指定した場所のカラーを返します -(NSColor *)interpolatedColorAtLocation:(CGFloat)location: 解説 グラデーションオブジェクトの指定した場所のカラーを返します。 返り値 ( NSColor * ) カラーオブジェクト 引数 ( CGFloat …

initWithStartingColor:endingColor:

開始カラーと終了カラーでグラデーションオブジェクトを初期化して返します -(id)initWithStartingColor:(NSColor *)startingColor: endingColor:(NSColor *)endingColor: 解説 開始カラーと終了カラーでグラデーションオブジェクトを初期化して返します。 …

initWithColorsAndLocations:

カラーオブジェクトと位置のを交互に指定してグラデーションオブジェクトを初期化して返します -(id)initWithColorsAndLocations:(NSColor *)firstColor,...: 解説 カラーオブジェクトと位置のを交互に指定してグラデーションオブジェクトを初期化して返しま…

initWithColors:atLocations:colorSpace:

指定したカラーの配列と位置の配列でグラデーションオブジェクトを初期化して返します -(id)initWithColors:(NSArray *)colorArray: atLocations:(CGFloat *)locations: colorSpace:(NSColorSpace *)colorSpace: 解説 指定したカラーの配列と位置の配列でグ…

initWithColors:

指定したカラーの配列でグラデーションを初期化して返します -(id)initWithColors:(NSArray *)colorArray: 解説 指定したカラーの配列でグラデーションを初期化して返します。 返り値 ( id ) グラデーションオブジェクト(NSGradient) 引数 ( NSArray * )co…

getColor:location:atIndex:

グラデーションオブジェクトに設定されているカラーから指定した番号のカラーを取り出します -(void)getColor:(NSColor **)color: location:(CGFloat *)location: atIndex:(NSInteger)index: 解説 グラデーションオブジェクトに設定されているカラーから指定…

drawInRect:relativeCenterPosition:

指定した範囲を円グラデーションの矩形で描画します -(void)drawInRect:(NSRect)rect: relativeCenterPosition:(NSPoint)relativeCenterPosition: 解説 指定した範囲を円グラデーションの矩形で描画します。 返り値 ( void ) なし 引数 ( NSRect )rect 描画…

drawInRect:angle:

指定した範囲を帯グラデーションの矩形で描画します -(void)drawInRect:(NSRect)rect: angle:(CGFloat)angle: 解説 指定した範囲を帯グラデーションの矩形で描画します。 返り値 ( void ) なし 引数 ( NSRect )rect ( CGFloat )angle フレームワーク Applica…

drawInBezierPath:relativeCenterPosition:

指定したベジェパスを円グラデーションで塗って描画します -(void)drawInBezierPath:(NSBezierPath *)path: relativeCenterPosition:(NSPoint)relativeCenterPosition: 解説 指定したベジェパスを円グラデーションで塗って描画します。 返り値 ( void ) なし…

drawInBezierPath:angle:

指定したベジェパスを帯グラデーションで塗って描画します -(void)drawInBezierPath:(NSBezierPath *)path: angle:(CGFloat)angle: 解説 指定したベジェパスを帯グラデーションで塗って描画します。 返り値 ( void ) なし 引数 ( NSBezierPath * )path ( CGF…

drawFromPoint:toPoint:options:

指定した点から点までの帯状のグラデーションを返します -(void)drawFromPoint:(NSPoint)startingPoint: toPoint:(NSPoint)endingPoint: options:(NSGradientDrawingOptions)options: 解説 指定した点から点までの帯状のグラデーションを返します。 返り値 (…

drawFromCenter:radius:toCenter:radius:options:

円から円のグラデーションを描画します -(void)drawFromCenter:(NSPoint)startCenter: radius:(CGFloat)startRadius: toCenter:(NSPoint)endCenter: radius:(CGFloat)endRadius: options:(NSGradientDrawingOptions)options: 解説 円から円のグラデーション…

colorSpace

グラデーションオブジェクトのカラースペースを返します 解説 グラデーションオブジェクトのカラースペースを返します。 返り値 ( NSColorSpace * ) カラースペースオブジェクト 引数 フレームワーク ApplicationKit クラス NSGradient 使用可能 10.5 参照 …