NSWindow.ConstrainFrameRect(CGRect, NSScreen) Method

Definition

[Foundation.Export("constrainFrameRect:toScreen:")]
public virtual CoreGraphics.CGRect ConstrainFrameRect (CoreGraphics.CGRect frameRect, AppKit.NSScreen screen);
abstract member ConstrainFrameRect : CoreGraphics.CGRect * AppKit.NSScreen -> CoreGraphics.CGRect
override this.ConstrainFrameRect : CoreGraphics.CGRect * AppKit.NSScreen -> CoreGraphics.CGRect

Parameters

frameRect
CGRect
screen
NSScreen

Returns

Attributes

Applies to