IUIDynamicItem Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This interface represents the Objective-C protocol UIDynamicItem.
[Foundation.Protocol(Name="UIDynamicItem", WrapperType=typeof(UIKit.UIDynamicItemWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="center", IsProperty=true, IsRequired=true, IsStatic=false, Name="Center", PropertyType=typeof(CoreGraphics.CGPoint), Selector="center", SetterSelector="setCenter:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="bounds", IsProperty=true, IsRequired=true, IsStatic=false, Name="Bounds", PropertyType=typeof(CoreGraphics.CGRect), Selector="bounds")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="transform", IsProperty=true, IsRequired=true, IsStatic=false, Name="Transform", PropertyType=typeof(CoreGraphics.CGAffineTransform), Selector="transform", SetterSelector="setTransform:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="collisionBoundsType", IsProperty=true, IsRequired=false, IsStatic=false, Name="CollisionBoundsType", PropertyType=typeof(UIKit.UIDynamicItemCollisionBoundsType), Selector="collisionBoundsType")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="collisionBoundingPath", IsProperty=true, IsRequired=false, IsStatic=false, Name="CollisionBoundingPath", PropertyType=typeof(UIKit.UIBezierPath), Selector="collisionBoundingPath")]
public interface IUIDynamicItem : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UIDynamicItem", WrapperType=typeof(UIKit.UIDynamicItemWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="center", IsProperty=true, IsRequired=true, IsStatic=false, Name="Center", PropertyType=typeof(CoreGraphics.CGPoint), Selector="center", SetterSelector="setCenter:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="bounds", IsProperty=true, IsRequired=true, IsStatic=false, Name="Bounds", PropertyType=typeof(CoreGraphics.CGRect), Selector="bounds")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="transform", IsProperty=true, IsRequired=true, IsStatic=false, Name="Transform", PropertyType=typeof(CoreGraphics.CGAffineTransform), Selector="transform", SetterSelector="setTransform:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="collisionBoundsType", IsProperty=true, IsRequired=false, IsStatic=false, Name="CollisionBoundsType", PropertyType=typeof(UIKit.UIDynamicItemCollisionBoundsType), Selector="collisionBoundsType")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="collisionBoundingPath", IsProperty=true, IsRequired=false, IsStatic=false, Name="CollisionBoundingPath", PropertyType=typeof(UIKit.UIBezierPath), Selector="collisionBoundingPath")>]
type IUIDynamicItem = interface
interface INativeObject
interface IDisposable
- Derived
- Attributes
- Implements
Remarks
A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.
A class may also implement members from this interface to implement members from the protocol.
Properties
| Name | Description |
|---|---|
| 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. |
| CollisionBoundingPath |
Returns the closed path that is used for collision detection. |
| CollisionBoundsType |
Returns a value that tells how collision bounds are specified. |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
| Transform |
The rotation of the dynamic item. |
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |
| GetCollisionBoundingPath(IUIDynamicItem) |
Returns the closed path that is used for collision detection. |
| GetCollisionBoundsType(IUIDynamicItem) |
Returns a value that tells how collision bounds are specified. |