Share via


NSWindow.ContentRectFor Method

Definition

Overloads

ContentRectFor(CGRect)

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

Parameters

frameRect
CGRect

Returns

Attributes

Applies to

ContentRectFor(CGRect, NSWindowStyle)

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

Parameters

forFrameRect
CGRect
styleMask
NSWindowStyle

Returns

Attributes

Applies to