Instance Property

center

The center point of the dynamic item.

Required.

Declaration

var center: CGPoint { get set }

Discussion

The dynamic animator (that the item is associated with) calls this method when it has computed a new center point for the item.

See Also

Participating in Dynamic Animation

var bounds: CGRect

Called when a dynamic animator needs the bounds of the dynamic item.

Required.

var transform: CGAffineTransform

The rotation of the dynamic item.

Required.

var collisionBoundsType: UIDynamicItemCollisionBoundsType

The type of collision bounds associated with the item.

var collisionBoundingPath: UIBezierPath

The path-based shape to use for the collision bounds.