Inherits from AKImageEffect : NSObject
Declared in AKNoiseImageEffect.h
AKNoiseImageEffect.m

Overview

The AKNoiseImageEffect class draws random noise. Every pixel is filled with a random value. AKNoiseImageEffect uses arc4random_uniform() to ensure a uniform distribution of randomness.

Tasks

Creating a Noise Image Effect

Customizing Appearance

  •   noiseType

    The type of noise to draw. AKNoiseTypeBlackAndWhite, the default, draws black-and-white noise, while AKNoiseTypeColor draws noise in random colors.

    property

Properties

noiseType

The type of noise to draw. AKNoiseTypeBlackAndWhite, the default, draws black-and-white noise, while AKNoiseTypeColor draws noise in random colors.

@property (readonly) AKNoiseType noiseType

Declared In

AKNoiseImageEffect.h

Instance Methods

initWithAlpha:blendMode:noiseType:

The designated initializer for a noise image effect.

- (id)initWithAlpha:(CGFloat)alpha blendMode:(CGBlendMode)blendMode noiseType:(AKNoiseType)noiseType

Parameters

alpha

The value for the alpha property.

blendMode

The value for the blendMode property.

noiseType

The value for the noiseType property.

Return Value

An initialized image effect.

Declared In

AKNoiseImageEffect.h