Google is committed to advancing racial equity for Black communities. See how.

FilterQuality

enum class FilterQuality
kotlin.Any
   ↳ kotlin.Enum<androidx.compose.ui.graphics.FilterQuality>
   ↳ androidx.compose.ui.graphics.FilterQuality

Summary

Enum values

Best possible quality filtering, albeit also the slowest.

Better quality than None, faster than Medium.

Better quality than Low, faster than High.

Fastest possible filtering, albeit also the lowest quality Typically this implies nearest-neighbour filtering.

Inherited extension functions
From androidx.core.util
infix Range<T>
T.rangeTo(that: T)

Creates a range from this Comparable value to that.

Enum values

High

enum val High : FilterQuality

Best possible quality filtering, albeit also the slowest. Typically this implies bicubic interpolation or better.

Low

enum val Low : FilterQuality

Better quality than None, faster than Medium. Typically this implies bilinear interpolation.

Medium

enum val Medium : FilterQuality

Better quality than Low, faster than High.

Typically this implies a combination of bilinear interpolation and pyramidal parametric prefiltering (mipmaps).

None

enum val None : FilterQuality

Fastest possible filtering, albeit also the lowest quality Typically this implies nearest-neighbour filtering.