Translate_offine/target/Tool/CustomButton.h
2024-07-23 17:20:05 +08:00

26 lines
579 B
Objective-C

//
// CustomButton.h
// HD wallpaper
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface CustomButton : UIButton
@property (nonatomic, assign) CGFloat cornerRadius;
@property (nonatomic, assign) CGFloat borderWidth;
@property (nonatomic, strong) UIColor *borderColor;
@property (nonatomic, strong) UIColor *shadowColor;
@property (nonatomic, assign) CGFloat shadowRadius;
@property (nonatomic, assign) CGFloat shadowOpacity;
@property (nonatomic, assign) CGSize shadowOffset;
- (void)setImageAboveTitleWithSpacing:(CGFloat)spacing;
@end
NS_ASSUME_NONNULL_END