UIImage(TKCategory) Category Reference
Declared in | UIImage+TKCategory.h |
Tasks
-
– imageByApplyingLightEffect
Creates and returns an image with the applyed lighting effect.
-
– imageByApplyingExtraLightEffect
Creates and returns an image with the applyed lighting effect.
-
– imageByApplyingDarkEffectWithBlurRadius:saturationFactor:
Creates and returns an image with the applyed tint color.
-
– imageByApplyingDarkEffect
Creates and returns an image with the a dark tint color applied.
-
– imageByApplyingTintEffectWithColor:
Creates and returns an image with the applyed tint color.
-
– imageByApplyingBlurWithRadius:tintColor:saturationDeltaFactor:maskImage:
Creates and returns an image with the applyed blur, tint color, saturation change, and masked image.
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.
Discussion
Creates and returns an image with the applyed blur, tint color, saturation change, and masked image.
Declared In
UIImage+TKCategory.h
imageByApplyingDarkEffect
Creates and returns an image with the a dark tint color applied.
- (UIImage *)imageByApplyingDarkEffect
Return Value
An image with the applied dark tint effect.
Discussion
Creates and returns an image with the a dark tint color applied.
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.
Discussion
Creates and returns an image with the applyed tint color.
Declared In
UIImage+TKCategory.h
imageByApplyingExtraLightEffect
Creates and returns an image with the applyed lighting effect.
- (UIImage *)imageByApplyingExtraLightEffect
Return Value
An image with the applied lighting effect.
Discussion
Creates and returns an image with the applyed lighting effect.
Declared In
UIImage+TKCategory.h
imageByApplyingLightEffect
Creates and returns an image with the applyed lighting effect.
- (UIImage *)imageByApplyingLightEffect
Return Value
An image with the applied lighting effect.
Discussion
Creates and returns an image with the applyed lighting 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.
Discussion
Creates and returns an image with the applyed tint color.
Declared In
UIImage+TKCategory.h