Contents

antialiased(_:)

Specifies whether SwiftUI applies antialiasing when rendering the image.

Declaration

func antialiased(_ isAntialiased: Bool) -> Image

Parameters

  • isAntialiased:

    A Boolean value that specifies whether to allow antialiasing. Pass true to allow antialising, false otherwise.

Return Value

An image with the antialiasing behavior set.

See Also

Specifying rendering behavior