NSLayoutXAxisAnchor.CreateAnchorWithOffset(NSLayoutXAxisAnchor) 方法

定义

返回当前定位点与 otherAnchor之间的距离的布局维度。

[Foundation.Export("anchorWithOffsetToAnchor:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.NSLayoutDimension CreateAnchorWithOffset (UIKit.NSLayoutXAxisAnchor otherAnchor);
abstract member CreateAnchorWithOffset : UIKit.NSLayoutXAxisAnchor -> UIKit.NSLayoutDimension
override this.CreateAnchorWithOffset : UIKit.NSLayoutXAxisAnchor -> UIKit.NSLayoutDimension

参数

otherAnchor
NSLayoutXAxisAnchor

返回

属性

适用于