macOS/iOS API解説

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

目次

rectOfPathComponentCell:withFrame:inView:

**

-(NSRect)rectOfPathComponentCell:(NSPathComponentCell *)cell:
                    withFrame:(NSRect)frame:
                    inView:(NSView *)view:

解説

指定のビューのフレームに関してのパスコンポーネントで表示されている現在の矩形を返します。
パスコンポーネントセルを含む矩形。
セルが見つけられない、または現在表示されていないならNSZeroRect を返す。

返り値

( NSRect )

引数

( NSPathComponentCell * )cell
( NSRect )frame
( NSView * )view

フレームワーク

ApplicationKit

クラス

NSPathCell

使用可能

10.5

参照

例文

- (NSRect)rectOfPathComponentCell:(NSPathComponentCell *)cell withFrame:(NSRect)frame inView:(NSView *)view