NSLayoutYAxisAnchor.ConstraintEqualToSystemSpacingBelowAnchor 方法

定义

返回从当前定位点到指定 anchor的距离的约束,该距离由指定的 multiplier 在系统间距上缩放。

[Foundation.Export("constraintEqualToSystemSpacingBelowAnchor:multiplier:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.NSLayoutConstraint ConstraintEqualToSystemSpacingBelowAnchor (UIKit.NSLayoutYAxisAnchor anchor, nfloat multiplier);
abstract member ConstraintEqualToSystemSpacingBelowAnchor : UIKit.NSLayoutYAxisAnchor * nfloat -> UIKit.NSLayoutConstraint
override this.ConstraintEqualToSystemSpacingBelowAnchor : UIKit.NSLayoutYAxisAnchor * nfloat -> UIKit.NSLayoutConstraint

参数

anchor
NSLayoutYAxisAnchor

引用定位点。

multiplier
nfloat

间距的乘数。

返回

属性

适用于