RKPaintedGiftView.h 706 B

12345678910111213141516171819202122232425262728
  1. //
  2. // RKPaintedGiftView.h
  3. // YBVideo
  4. //
  5. // Created by YB007 on 2020/8/27.
  6. // Copyright © 2020 cat. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef void (^PaintedBlock)(void);
  10. @interface RKPaintedGiftView : UIView
  11. @property(nonatomic,copy)PaintedBlock paintedEvent;
  12. @property(nonatomic,strong)NSString *giftNameStr; //礼物名称
  13. @property(nonatomic,strong)NSString *giftPathStr; //礼物地址
  14. @property(nonatomic,assign)BOOL showPainted; //展示绘制区域
  15. @property(nonatomic,strong)MASViewAttribute *painteLeftMas; //个数的左边【打赏礼物-右边开始】
  16. -(CGSize)getPaintedRegion;
  17. -(NSArray<NSString *> *)getPaintedPointArray;
  18. @end