共用方式為


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

傳回

屬性

適用於