AnyImageModifier
public struct AnyImageModifier: ImageModifier
A custom modifier. Can be initialized with a block to modify images in a custom way
-
Initialize an
AnyImageModifierDeclaration
Swift
public init(modify: @escaping (Image) -> Image) -
Modifies an input
Imageusing thisAnyImageModifier‘sblock.Note
See documentation of
ImageModifierprotocol for more.Declaration
Swift
public func modify(_ image: Image) -> ImageParameters
imageImage which will be modified by
selfReturn Value
The modified image.
View on GitHub
Install in Dash
AnyImageModifier Structure Reference