Class

SuperSamplingPattern

Specifies the super sampling setting for this Surface.

Source set: Android
public class SuperSamplingPattern private constructor(public val value: SurfaceEntity.SuperSampling)

Specifies the super sampling setting for this Surface. Super sampling can improve rendering quality at a performance cost.

Members

Companion

Source set: Android
public companion object

Properties

None

Source set: Android
public val None: SuperSamplingPattern =
            SuperSamplingPattern(SurfaceEntity.SuperSampling.NONE)

Super sampling is disabled.

Pentagon

Source set: Android
public val Pentagon: SuperSamplingPattern =
            SuperSamplingPattern(SurfaceEntity.SuperSampling.PENTAGON)

Super sampling is enabled with a default sampling pattern.

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: