説明なし

APAvatarImageView.h 738B

123456789101112131415161718192021222324
  1. //
  2. // APAvatarImageView.h
  3. // Avatar
  4. //
  5. // Created by Ankur Patel on 10/19/13.
  6. // Copyright (c) 2013 Patel Labs LLC. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @interface APAvatarImageView : UIImageView
  10. @property (nonatomic, retain) UIColor *borderColor;
  11. @property (nonatomic, assign) float borderWidth;
  12. @property (nonatomic, assign) float cornerRadius;
  13. - (id)initWithFrame:(CGRect)frame borderColor:(UIColor*)borderColor borderWidth:(float)borderWidth;
  14. - (id)initWithImage:(UIImage *)image borderColor:(UIColor*)borderColor borderWidth:(float)borderWidth;
  15. - (id)initWithImage:(UIImage *)image highlightedImage:(UIImage *)highlightedImage borderColor:(UIColor*)borderColor borderWidth:(float)borderWidth;
  16. - (void)draw;
  17. @end