Source set: Android
public actual sealed class RenderEffect
Functions
asAndroidRenderEffect
Source set: Android
public fun asAndroidRenderEffect(): android.graphics.RenderEffect
Obtain a android.graphics.RenderEffect from the compose RenderEffect
isSupported
Source set: Android
public actual open fun isSupported(): Boolean
Source set: Common
public expect sealed class RenderEffect()
Intermediate rendering step used to render drawing commands with a corresponding visual effect. A RenderEffect can be configured on a GraphicsLayerScope and will be applied when drawn.
Functions
isSupported
Source set: Common
public open fun isSupported(): Boolean
Capability query to determine if the particular platform supports the RenderEffect. Not all platforms support all render effects.
Note RenderEffect is only supported on Android 12 and above. Attempts to use RenderEffect on older Android versions will be ignored.