Edit

Bagikan melalui


IUIDynamicItem Interface

Definition

Interface representing the required methods (if any) of the protocol UIDynamicItem.

[Foundation.Protocol(Name="UIDynamicItem", WrapperType=typeof(UIKit.UIDynamicItemWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUIDynamicItem : IDisposable, ObjCRuntime.INativeObject
type IUIDynamicItem = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by UIDynamicItem.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UIDynamicItem protocol.

Optional methods (if any) are provided by the UIDynamicItem_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Bounds

Called in an instance where the dynamic animator requires the bounds of a dynamic item be returned.

Center

The center of the dynamic item.

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Transform

The rotation of the dynamic item.

Extension Methods

GetCollisionBoundingPath(IUIDynamicItem)

Returns the closed path that is used for collision detection.

GetCollisionBoundsType(IUIDynamicItem)

Returns a value that tells how collision bounds are specified.

Applies to