VideoPasterView.h 731 B

1234567891011121314151617181920212223242526
  1. //
  2. // VideoTextFiled.h
  3. // DeviceManageIOSApp
  4. //
  5. // Created by rushanting on 2017/5/22.
  6. // Copyright © 2017年 tencent. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class VideoPasterView;
  10. @protocol VideoPasterViewDelegate <NSObject>
  11. - (void)onPasterViewTap;
  12. - (void)onRemovePasterView:(VideoPasterView*)pasterView;
  13. @end
  14. @interface VideoPasterView : UIView
  15. @property (nonatomic, weak) id<VideoPasterViewDelegate> delegate;
  16. @property (nonatomic, strong) UIImageView *pasterImageView;
  17. @property (nonatomic, assign) CGFloat rotateAngle;
  18. @property (nonatomic, assign) UIImage* staticImage;
  19. - (void)setImageList:(NSArray *)imageList imageDuration:(float)duration;
  20. - (CGRect)pasterFrameOnView:(UIView*)view;
  21. @end