共用方式為


NSLayoutXAxisAnchor.ConstraintEqualToSystemSpacingAfterAnchor 方法

定義

傳回從目前錨點到指定 anchor 之 距離的條件約束,此條件約束會依 multiplier 指定的系統間距來縮放。

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

參數

anchor
NSLayoutXAxisAnchor

參考錨點。

multiplier
nfloat

間距的乘數。

傳回

屬性

適用於