UIImage+ms.h 562 B

123456789101112131415161718192021
  1. //
  2. // UIImage+ms.h
  3. // 微博微微
  4. //
  5. // Created by GuoMS on 14-6-15.
  6. // Copyright (c) 2014年 MAC. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @interface UIImage (ms)
  10. + (UIImage*)fullscrennImage:(NSString*)name;
  11. // 可以自由拉伸的图片
  12. + (UIImage *)resizedImage:(NSString *)imgName;
  13. + (UIImage *)resizedImage:(NSString *)imgName xPos:(CGFloat)xPos yPos:(CGFloat)yPos;
  14. // 添加文字水印
  15. +(UIImage *) imageWithStringWaterMark:(UIImage*)image mark:(NSString *)markString inRect:(CGRect)rect color:(UIColor *)color font:(UIFont *)font;
  16. @end