UIImage+ImageEffect.h 597 B

123456789101112131415161718192021
  1. //
  2. // UIImage+ImageEffect.h
  3. // CommonLibrary
  4. //
  5. // Created by AlexiChen on 15/12/24.
  6. // Copyright © 2015年 AlexiChen. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @interface UIImage (ImageEffect)
  10. - (UIImage *)applyLightEffect;
  11. - (UIImage *)applyExtraLightEffect;
  12. - (UIImage *)applyDarkEffect;
  13. - (UIImage *)applyTintEffectWithColor:(UIColor *)tintColor;
  14. - (UIImage *)blurWithRadius:(CGFloat)blurRadius tintColor:(UIColor *)tintColor deltaFactor:(CGFloat)deltaFactor maskImage:(UIImage *)maskImage;
  15. + (void)frostedGlassEffectWithView:(UIView *)view effect:(UIBlurEffect *)effect;
  16. @end