NSLayoutYAxisAnchor.ConstraintLessThanOrEqualToSystemSpacingBelowAnchor 方法

定义

返回一个约束,该约束最多为从当前定位点到指定的 anchor的距离,按指定的 multiplier 在系统间距上缩放。

[Foundation.Export("constraintLessThanOrEqualToSystemSpacingBelowAnchor: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 ConstraintLessThanOrEqualToSystemSpacingBelowAnchor (UIKit.NSLayoutYAxisAnchor anchor, nfloat multiplier);
abstract member ConstraintLessThanOrEqualToSystemSpacingBelowAnchor : UIKit.NSLayoutYAxisAnchor * nfloat -> UIKit.NSLayoutConstraint
override this.ConstraintLessThanOrEqualToSystemSpacingBelowAnchor : UIKit.NSLayoutYAxisAnchor * nfloat -> UIKit.NSLayoutConstraint

参数

anchor
NSLayoutYAxisAnchor

引用定位点。

multiplier
nfloat

间距的乘数。

返回

属性

适用于