Class

FilterQuality

Quality levels for image filters.

Source set: Common
public class FilterQuality internal constructor(public val value: Int)

Quality levels for image filters. See Paint.filterQuality.

Functions

toString

Source set: Common
override fun toString(): String

Members

Companion

Source set: Common
public companion object

Properties

None

Source set: Common
public val None: FilterQuality

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

Low

Source set: Common
public val Low: FilterQuality

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

Medium

Source set: Common
public val Medium: FilterQuality

Better quality than Low, faster than High.

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

High

Source set: Common
public val High: FilterQuality

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

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: