YOUPAIRCDDanmaku.h 587 B

12345678910111213141516171819202122232425262728
  1. //
  2. // YOUPAIRCDDanmaku.h
  3. // DanMuDemo
  4. //
  5. // Created by Sin on 16/9/26.
  6. // Copyright © 2016年 Sin. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef enum : NSInteger {
  10. RCDDanmakuPositionNone = 0,//从右往左
  11. RCDDanmakuPositionCenterTop,//中间靠上
  12. RCDDanmakuPositionCenterBottom//中间靠下
  13. } RCDDanmakuPosition;//弹幕动画位置
  14. @interface YOUPAIRCDDanmaku : NSObject
  15. /**
  16. * 弹幕内容
  17. */
  18. @property(nonatomic, strong) UIView* playView;
  19. /**
  20. * 弹幕类型(弹幕所在位置)
  21. */
  22. @property(nonatomic, assign) RCDDanmakuPosition position;
  23. @end