withAlignmentRectInsets(_:)
Returns a new version of the image that uses the specified alignment insets.
Declaration
func withAlignmentRectInsets(_ alignmentInsets: UIEdgeInsets) -> UIImageParameters
- alignmentInsets:
The alignment metadata to apply to the new image.
Return Value
A new image object.
See Also
Related Documentation
Changing the image attributes
withConfiguration(_:)applyingSymbolConfiguration(_:)imageFlippedForRightToLeftLayoutDirection()withHorizontallyFlippedOrientation()withRenderingMode(_:)resizableImage(withCapInsets:)resizableImage(withCapInsets:resizingMode:)imageWithoutBaseline()withBaselineOffset(fromBottom:)UIImage.ConfigurationUIImage.SymbolConfiguration