Package apple.uikit.protocol
Interface UIDynamicItem
-
- All Known Subinterfaces:
NSCollectionLayoutVisibleItem
- All Known Implementing Classes:
ADBannerView,ARCoachingOverlayView,ARSCNView,ARSKView,ASAuthorizationAppleIDButton,AVRoutePickerView,BCChatButton,CAInterAppAudioSwitcherView,CAInterAppAudioTransportView,CPWindow,GLKView,HKActivityRingView,HMCameraView,INUIAddVoiceShortcutButton,LPLinkView,MKAnnotationView,MKCircleView,MKCompassButton,MKMapView,MKMarkerAnnotationView,MKOverlayPathView,MKOverlayView,MKPinAnnotationView,MKPolygonView,MKPolylineView,MKScaleView,MKUserLocationView,MKUserTrackingButton,MPVolumeView,MSStickerBrowserView,MSStickerView,MTKView,PDFThumbnailView,PDFView,PHLivePhotoView,PKAddPassButton,PKCanvasView,PKPaymentButton,RPSystemBroadcastPickerView,SCNView,SKView,UIActionSheet,UIActivityIndicatorView,UIAlertView,UIButton,UICollectionReusableView,UICollectionView,UICollectionViewCell,UICollectionViewLayoutAttributes,UICollectionViewListCell,UIColorWell,UIControl,UIDatePicker,UIDynamicItemGroup,UIImageView,UIInputView,UILabel,UIListContentView,UINavigationBar,UIPageControl,UIPickerView,UIPopoverBackgroundView,UIProgressView,UIRefreshControl,UIScrollView,UISearchBar,UISearchTextField,UISegmentedControl,UISlider,UIStackView,UIStepper,UISwitch,UITabBar,UITableView,UITableViewCell,UITableViewHeaderFooterView,UITextField,UITextView,UIToolbar,UIView,UIVisualEffectView,UIWebView,UIWindow,WKWebView
public interface UIDynamicItem
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CGRectbounds()CGPointcenter()default UIBezierPathcollisionBoundingPath()The path must represent a convex polygon with counter clockwise winding and no self intersection.default longcollisionBoundsType()The collision type represents how the dynamics system will evaluate collisions with respect to the dynamic item. defaults to UIDynamicItemCollisionBoundsTypeRectanglevoidsetCenter(CGPoint value)voidsetTransform(CGAffineTransform value)CGAffineTransformtransform()
-
-
-
Method Detail
-
bounds
CGRect bounds()
-
center
CGPoint center()
-
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)
-
setTransform
void setTransform(CGAffineTransform value)
-
transform
CGAffineTransform transform()
-
-