Instance Method インスタンスメソッド

interpolation(_:)

Specifies the current level of quality for rendering an image that requires interpolation.

Declaration 宣言

func interpolation(_ interpolation: Image.Interpolation) -> Image

Return Value 戻り値

An image with the given interpolation value set.

Parameters パラメータ

interpolation

The quality level, expressed as a value of the Interpolation type, that SwiftUI applies when interpolating an image.

Discussion 議論

See the article Fitting Images into Available Space for examples of using interpolation(_:) when scaling an Image.

See Also 参照

Specifying Rendering Behavior