co-maps/iphone/Maps/Classes/CircleView.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
673 B
C
Raw Normal View History

2025-11-22 13:58:55 +01:00
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface CircleView : UIView
- (id)initWithFrame:(CGRect)frame andColor:(UIColor *)color;
- (id)initWithFrame:(CGRect)frame andColor:(UIColor *)color andImageName:(nullable NSString *)imageName;
+ (UIImage *)createCircleImageWithFrameSize:(CGFloat)frameSize andDiameter:(CGFloat)diameter andColor:(UIColor *)color;
+ (UIImage *)createCircleImageWithDiameter:(CGFloat)diameter andColor:(UIColor *)color;
+ (UIImage *)createCircleImageWithDiameter:(CGFloat)diameter
andColor:(UIColor *)color
andImageName:(NSString *)imageName;
@end
NS_ASSUME_NONNULL_END