ImageFilter
public protocol ImageFilter
The ImageFilter
protocol defines properties for filtering an image as well as identification of the filter.
-
A closure used to create an alternative representation of the given image.
Declaration
Swift
var filter: (Image) -> Image
-
identifier
Default implementationThe string used to uniquely identify the filter operation.
Default Implementation
The unique idenitifier for an
ImageFilter
conforming to theRoundable
protocol.Declaration
Swift
var identifier: String