Interface UIDynamicItem

    • Method Detail

      • collisionBoundingPath

        @NotNull
        default @NotNull 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. API-Since: 9.0
      • collisionBoundsType

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

        void setCenter​(CGPoint value)