AlignmentRectInsetsImageModifier
public struct AlignmentRectInsetsImageModifier : ImageModifier
Modifier for setting the alignmentRectInsets
property of images.
-
The alignment insets to apply to the image
Declaration
Swift
public let alignmentInsets: UIEdgeInsets
-
Creates an
AlignmentRectInsetsImageModifier
.Declaration
Swift
public init(alignmentInsets: UIEdgeInsets)
-
Modify an input
Image
. SeeImageModifier
protocol for more.Declaration
Swift
public func modify(_ image: Image) -> Image