DynamicImageFilter
public struct DynamicImageFilter : ImageFilter
The DynamicImageFilter class simplifies custom image filter creation by using a trailing closure initializer.
-
The string used to uniquely identify the image filter operation.
Declaration
Swift
public let identifier: String -
Initializes the
DynamicImageFilterinstance with the specified identifier and filter closure.Parameters
identifierThe unique identifier of the filter.
filterA closure used to create an alternative representation of the given image.
Return Value
The new
DynamicImageFilterinstance.
View on GitHub
Install in Dash
DynamicImageFilter Structure Reference