Share via


NSClipView.ConstrainBoundsRect(CGRect) Method

Definition

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

Parameters

proposedBounds
CGRect

Returns

Attributes

Applies to