共用方式為


NSWindow.ConstrainFrameRect(CGRect, NSScreen) 方法

定義

[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

參數

frameRect
CGRect
screen
NSScreen

傳回

屬性

適用於