-boundingRectWithSize:options:attributes:
-(NSRect)boundingRectWithSize:(NSSize)size
options:(NSStringDrawingOptions)options
attributes:(NSDictionary *)attributes
農林水産省 有機JAS認証 ちこり村有機 黒にんにく おためし20片(約10日分)セット 500円 【お一人様一回限り】
- 出版社/メーカー: 株式会社サラダコスモ
- メディア: その他
- クリック: 1回
- この商品を含むブログを見る
解説
レシーバーがオプション仕様optionsを使って描画されるバウンディング矩形と、現在のグラフィックスコンテキストでのaRectの中の他の表示する属性の特性を計算して、返します。
このメソッドから返されたrectは最初のグリフの原点です。
返り値
( NSRect )
なし
引数
( NSSize )size
( NSStringDrawingOptions )options
( NSDictionary * )attributes
フレームワーク
ApplicationKit
クラス
NSString Additions
Instance Methods
使用可能
10.4
参照
-drawInRect:withAttributes: