123456789101112131415161718192021222324252627282930313233343536373839 |
- //
- // HWVisualEffectView.h
- // HWPanModal
- //
- // Created by heath wang on 2019/6/14.
- //
- #import <UIKit/UIKit.h>
- NS_ASSUME_NONNULL_BEGIN
- @interface HWVisualEffectView : UIVisualEffectView
- /**
- * tint color
- * default is nil
- */
- @property (nullable, nonatomic, strong) UIColor *colorTint;
- /**
- * tint color alpha
- * default is 0.0
- */
- @property (nonatomic, assign) CGFloat colorTintAlpha;
- /**
- * blur radius, change it to make blur affect
- * default is 0.0
- */
- @property (nonatomic, assign) CGFloat blurRadius;
- /**
- * scale factor.
- * default is 1.0
- */
- @property (nonatomic, assign) CGFloat scale;
- - (void)updateBlurEffect:(UIVisualEffect *)effect;
- @end
- NS_ASSUME_NONNULL_END
|