NSWindow.ConstrainFrameRect(CGRect, NSScreen) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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