Bearbeiten

Freigeben über


UIAttachmentBehavior.CreateSlidingAttachment Method

Definition

Overloads

CreateSlidingAttachment(IUIDynamicItem, CGPoint, CGVector)

Static factory method to create a UIAttachmentBehavior that slides along the .

CreateSlidingAttachment(IUIDynamicItem, IUIDynamicItem, CGPoint, CGVector)

Static factory method to create a rUIAttachmentBehavior that slides along .

CreateSlidingAttachment(IUIDynamicItem, CGPoint, CGVector)

Static factory method to create a UIAttachmentBehavior that slides along the .

[Foundation.Export("slidingAttachmentWithItem:attachmentAnchor:axisOfTranslation:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static UIKit.UIAttachmentBehavior CreateSlidingAttachment (UIKit.IUIDynamicItem item, CoreGraphics.CGPoint attachmentAnchor, CoreGraphics.CGVector translationAxis);
static member CreateSlidingAttachment : UIKit.IUIDynamicItem * CoreGraphics.CGPoint * CoreGraphics.CGVector -> UIKit.UIAttachmentBehavior

Parameters

attachmentAnchor
CGPoint
translationAxis
CGVector

Returns

Attributes

Applies to

CreateSlidingAttachment(IUIDynamicItem, IUIDynamicItem, CGPoint, CGVector)

Static factory method to create a rUIAttachmentBehavior that slides along .

[Foundation.Export("slidingAttachmentWithItem:attachedToItem:attachmentAnchor:axisOfTranslation:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static UIKit.UIAttachmentBehavior CreateSlidingAttachment (UIKit.IUIDynamicItem item1, UIKit.IUIDynamicItem item2, CoreGraphics.CGPoint attachmentAnchor, CoreGraphics.CGVector translationAxis);
static member CreateSlidingAttachment : UIKit.IUIDynamicItem * UIKit.IUIDynamicItem * CoreGraphics.CGPoint * CoreGraphics.CGVector -> UIKit.UIAttachmentBehavior

Parameters

attachmentAnchor
CGPoint
translationAxis
CGVector

Returns

Attributes

Applies to