UIImage+Alpha.h 365 B

1234567891011
  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. // Helper methods for adding an alpha layer to an image
  6. @interface UIImage (Alpha)
  7. - (BOOL)hasAlpha;
  8. - (UIImage *)imageWithAlpha;
  9. - (UIImage *)transparentBorderImage:(NSUInteger)borderSize;
  10. @end