UIImage(TKCategory) Category Reference
Declared in | UIImage+TKCategory.h UIImage+TKCategory.m |
Properties
imageByApplyingDarkEffect
Creates and returns an image with the a dark tint color applied.
@property (nonatomic, readonly, strong) UIImage *imageByApplyingDarkEffect
Return Value
An image with the applied dark tint effect.
Declared In
UIImage+TKCategory.h
Instance Methods
imageByApplyingBlurWithRadius:tintColor:saturationDeltaFactor:maskImage:
Creates and returns an image with the applyed blur, tint color, saturation change, and masked image.
- (UIImage *)imageByApplyingBlurWithRadius:(CGFloat)blurRadius tintColor:(UIColor *)tintColor saturationDeltaFactor:(CGFloat)saturationDeltaFactor maskImage:(UIImage *)maskImage
Parameters
- blurRadius
the blur radius applied to the image
- tintColor
The color that will applied to the image. For subtle changes, make sure the alpha of the color is less than 1.
- saturationDeltaFactor
The saturation change applied to the original image. 1.0 is the default.
- maskImage
The mask image applied to the original image.
Return Value
An image with the applied blur.
Declared In
UIImage+TKCategory.h
imageByApplyingDarkEffectWithBlurRadius:saturationFactor:
Creates and returns an image with the applyed tint color.
- (UIImage *)imageByApplyingDarkEffectWithBlurRadius:(CGFloat)blurRadius saturationFactor:(CGFloat)saturation
Parameters
- blurRadius
the blur radius applied to the image
- saturation
The saturation change applied to the original image. 1.0 is the default.
Return Value
An image with the applied tint effect.
Declared In
UIImage+TKCategory.h
imageByApplyingTintEffectWithColor:
Creates and returns an image with the applyed tint color.
- (UIImage *)imageByApplyingTintEffectWithColor:(UIColor *)tintColor
Parameters
- tintColor
The color that will applied to the image. For subtle changes, make sure the alpha of the color is less than 1.
Return Value
An image with the applied tint effect.
Declared In
UIImage+TKCategory.h