UIImage+Alpha.h 338 B

12345678910111213141516
  1. // UIImage+Alpha.h
  2. // Created by Trevor Harmon on 9/20/09.
  3. // Free for personal or commercial use, with or without modification.
  4. // No warranty is expressed or implied.
  5. #import <UIKit/UIKit.h>
  6. @interface UIImage (Alpha)
  7. - (BOOL)hasAlpha;
  8. - (UIImage *)imageWithAlpha;
  9. - (UIImage *)transparentBorderImage:(NSUInteger)borderSize;
  10. @end