The Developer Preview for Android 11 is now available; test it out and share your feedback.

MaskFilter

data class MaskFilter
kotlin.Any
   ↳ androidx.ui.graphics.MaskFilter

Summary

Constants

const Int

const Int

Public constructors

<init>(style: BlurStyle, sigma: Float)

Inherited extension functions

From androidx.compose
operator T

IMPORTANT: This global operator is TEMPORARY, and should be removed whenever an answer for contextual composers is reached.

Properties

Float

BlurStyle

Constants

TYPE_BLUR

const val TYPE_BLUR: Int
Value: 1

TYPE_NONE

const val TYPE_NONE: Int
Value: 0

Public constructors

<init>

MaskFilter(
    style: BlurStyle,
    sigma: Float)

Properties

sigma

val sigma: Float

style

val style: BlurStyle