DefaultImageModifier
public struct DefaultImageModifier: ImageModifier
The default modifier. Does nothing and returns the image it was given
-
A default
DefaultImageModifier
which can be used everywhere.Declaration
Swift
public static let `default` = DefaultImageModifier()
-
Modify an input
Image
.Note
See documentation of
ImageModifier
protocol for more.Declaration
Swift
public func modify(_ image: Image) -> Image
Parameters
image
Image which will be modified by
self
Return Value
The modified image.