widthForLayer:edge:
レイヤーの幅を返します
-(float)widthForLayer:(NSTextBlockLayer)layer: edge:(NSRectEdge)edge:
解説
レイヤーの幅を返します。
【NSTextBlockLayer】
NSTextBlockPadding
NSTextBlockBorder
NSTextBlockMargin
【NSRectEdge】
NSMinXEdge
NSMinYEdge
NSMaxXEdge
NSMaxYEdge
返り値
( float )
なし
引数
( NSTextBlockLayer )layer
( NSRectEdge )edge
フレームワーク
ApplicationKit
クラス
NSTextBlock
Instance Methods
使用可能
10.4
参照
-setWidthForLayer
-setWidth:type:forLayer: