NSWindow.FrameRectFor 方法

定义

重载

FrameRectFor(CGRect)
FrameRectFor(CGRect, NSWindowStyle)

FrameRectFor(CGRect)

[Foundation.Export("frameRectForContentRect:")]
public virtual CoreGraphics.CGRect FrameRectFor (CoreGraphics.CGRect contentRect);
abstract member FrameRectFor : CoreGraphics.CGRect -> CoreGraphics.CGRect
override this.FrameRectFor : CoreGraphics.CGRect -> CoreGraphics.CGRect

参数

contentRect
CGRect

返回

属性

适用于

FrameRectFor(CGRect, NSWindowStyle)

[Foundation.Export("frameRectForContentRect:styleMask:")]
public static CoreGraphics.CGRect FrameRectFor (CoreGraphics.CGRect contectRect, AppKit.NSWindowStyle styleMask);
static member FrameRectFor : CoreGraphics.CGRect * AppKit.NSWindowStyle -> CoreGraphics.CGRect

参数

contectRect
CGRect
styleMask
NSWindowStyle

返回

属性

适用于