Creates motion blur on an image.
- iOS 13.0+
- macOS 10.15+
- tvOS 13.0+
- Core Image
The blurred image.
This method applies the motion blur filter to an image. The filter uses the angle of a single row of pixels to determine the direction of the motion effect.
The motion blur filter uses the following properties:
floatrepresenting the area of effect as an
floatrepresenting the angle of the motion, in radians, that determines which direction the blur smears as an
CIImagerepresenting the input image to apply the filter to.
The following code creates a filter that adds a motion blur to the input image: