酷店

UIColor+KDPColor.h 404B

1234567891011121314151617181920
  1. //
  2. // UIColor+KDPColor.h
  3. // KuDianProject
  4. //
  5. // Created by 学丽 on 2019/7/4.
  6. // Copyright © 2019 KDP. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface UIColor (KDPColor)
  11. + (UIColor*)gradientOneColor:(UIColor*)oneColor toColor:(UIColor*)twoColor Width:(int)width;
  12. +(instancetype)baseColor;
  13. +(instancetype)colorWithHex:(uint32_t)hex;
  14. @end
  15. NS_ASSUME_NONNULL_END