UIImage(ImageEffects) Category Reference

Declared in UIImage+ImageEffects.h

Overview

UIImage image effects methods.

– applyLightEffect

Applies a lightening effect to the UIImage.

- (nonnull UIImage *)applyLightEffect

Return Value

The new UIImage object with the effect applied.

Declared In

UIImage+ImageEffects.h

– applyExtraLightEffect

Applies an extra-strong lightening effect to the UIImage.

- (nonnull UIImage *)applyExtraLightEffect

Return Value

The new UIImage object with the effect applied.

Declared In

UIImage+ImageEffects.h

– applyDarkEffect

Applies a darkening effect to the UIImage.

- (nonnull UIImage *)applyDarkEffect

Return Value

The new UIImage object with the effect applied.

Declared In

UIImage+ImageEffects.h

– applyTintEffectWithColor:

Applies a color tint effect to the UIImage.

- (nonnull UIImage *)applyTintEffectWithColor:(nonnull UIColor *)tintColor

Parameters

tintColor

The tint color to apply.

Return Value

The new UIImage object with the effect applied.

Declared In

UIImage+ImageEffects.h

– applyBlurWithRadius:tintColor:saturationDeltaFactor:maskImage:

Applies a blur effect to the image with a tint.

- (nonnull UIImage *)applyBlurWithRadius:(CGFloat)blurRadius tintColor:(nullable UIColor *)tintColor saturationDeltaFactor:(CGFloat)saturationDeltaFactor maskImage:(nullable UIImage *)maskImage

Parameters

blurRadius

The radius of the blur.

tintColor

The optional tint color to use.

saturationDeltaFactor

The saturation delta factor value to use.

maskImage

The optional mask to apply the blur effect to.

Return Value

The new UIImage object with the effect applied.

Declared In

UIImage+ImageEffects.h