Interface UIDynamicItem

    • Method Detail

      • collisionBoundingPath

        default UIBezierPath collisionBoundingPath()
        The path must represent a convex polygon with counter clockwise winding and no self intersection. The point (0,0) in the path corresponds to the dynamic item's center.
      • collisionBoundsType

        default long collisionBoundsType()
        The collision type represents how the dynamics system will evaluate collisions with respect to the dynamic item. defaults to UIDynamicItemCollisionBoundsTypeRectangle
      • setCenter

        void setCenter​(CGPoint value)