Contents

withAlignmentRectInsets(_:)

Returns a new version of the image that uses the specified alignment insets.

Declaration

func withAlignmentRectInsets(_ alignmentInsets: UIEdgeInsets) -> UIImage

Parameters

  • alignmentInsets:

    The alignment metadata to apply to the new image.

Return Value

A new image object.

See Also

Related Documentation

Changing the image attributes