共用方式為


NSClipView.ConstrainScrollPoint(CGPoint) 方法

定義

[Foundation.Export("constrainScrollPoint:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, "Use ConstrainBoundsRect instead.")]
public virtual CoreGraphics.CGPoint ConstrainScrollPoint (CoreGraphics.CGPoint newOrigin);
abstract member ConstrainScrollPoint : CoreGraphics.CGPoint -> CoreGraphics.CGPoint
override this.ConstrainScrollPoint : CoreGraphics.CGPoint -> CoreGraphics.CGPoint

參數

newOrigin
CGPoint

傳回

屬性

適用於