Enumeration
列挙
Image.Interpolation
The level of quality for rendering an image that requires interpolation, such as a scaled image.
Overview
概要
The interpolation(_:)
modifier specifies the interpolation behavior when using the resizable(capInsets:resizingMode:)
modifier on an Image
. Use this behavior to prioritize rendering performance or image quality.
Topics
話題
Getting Interpolation Options
case high
A value that indicates a high level of interpolation quality, which may slow down image rendering.
case low
A value that indicates a low level of interpolation quality, which may speed up image rendering.
case medium
A value that indicates a medium level of interpolation quality, between the low- and high-quality values.
case none
A value that indicates SwiftUI doesn’t interpolate image data.
Comparing Interpolation Options
Default Implementations
省略時実装
See Also
参照
Specifying Rendering Behavior