共用方式為


NSWindow.ContentRectFor 方法

定義

多載

ContentRectFor(CGRect)
ContentRectFor(CGRect, NSWindowStyle)

ContentRectFor(CGRect)

[Foundation.Export("contentRectForFrameRect:")]
public virtual CoreGraphics.CGRect ContentRectFor (CoreGraphics.CGRect frameRect);
abstract member ContentRectFor : CoreGraphics.CGRect -> CoreGraphics.CGRect
override this.ContentRectFor : CoreGraphics.CGRect -> CoreGraphics.CGRect

參數

frameRect
CGRect

傳回

屬性

適用於

ContentRectFor(CGRect, NSWindowStyle)

[Foundation.Export("contentRectForFrameRect:styleMask:")]
public static CoreGraphics.CGRect ContentRectFor (CoreGraphics.CGRect forFrameRect, AppKit.NSWindowStyle styleMask);
static member ContentRectFor : CoreGraphics.CGRect * AppKit.NSWindowStyle -> CoreGraphics.CGRect

參數

forFrameRect
CGRect
styleMask
NSWindowStyle

傳回

屬性

適用於