imageFrameStyle
画像のまわりに現れるフレームのスタイルを返します
解説
画像のまわりに現れるフレームのスタイルを返します。
【NSImageFrameStyle】
● NSImageFrameNone フレーム無し
● NSImageFramePhoto 枠付きドロップシャドウ
● NSImageFrameGrayBezel グレイベベル
● NSImageFrameGroove
● NSImageFrameButton
返り値
( NSImageFrameStyle )
フレームスタイル
引数
フレームワーク
ApplicationKit
クラス
NSImageCell
Instance Methods
使用可能
10.0
参照
- setImageFrameStyle:
例文
#import "SetImage.h" @implementation SetImage - (IBAction)set:(id)sender { if ([image imageFrameStyle] == NSImageFramePhoto){ NSLog(@"NSImageFramePhoto"); }else{ NSLog(@"other"); } } @end