FlipsForRightToLeftLayoutDirectionImageModifier
public struct FlipsForRightToLeftLayoutDirectionImageModifier: ImageModifier
Modifier for setting the flipsForRightToLeftLayoutDirection
property of images.
Only UI-based images are supported; if a non-UI image is passed in, the
modifier will do nothing.
-
Initialize a
FlipsForRightToLeftLayoutDirectionImageModifier
Note
On versions of iOS lower than 9.0, the image will be returned unmodified.Declaration
Swift
public init()
-
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.