Share via


NSWindow.FrameRectFor Method

Definition

Overloads

FrameRectFor(CGRect, NSWindowStyle)

[Foundation.Export("frameRectForContentRect:styleMask:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreGraphics.CGRect FrameRectFor(CoreGraphics.CGRect contectRect, AppKit.NSWindowStyle styleMask);
[<Foundation.Export("frameRectForContentRect:styleMask:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FrameRectFor : CoreGraphics.CGRect * AppKit.NSWindowStyle -> CoreGraphics.CGRect

Parameters

contectRect
CGRect
styleMask
NSWindowStyle

Returns

Attributes

Applies to

FrameRectFor(CGRect)

[Foundation.Export("frameRectForContentRect:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreGraphics.CGRect FrameRectFor(CoreGraphics.CGRect contentRect);
[<Foundation.Export("frameRectForContentRect:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member FrameRectFor : CoreGraphics.CGRect -> CoreGraphics.CGRect
override this.FrameRectFor : CoreGraphics.CGRect -> CoreGraphics.CGRect

Parameters

contentRect
CGRect

Returns

Attributes

Applies to