BlurEffect
Class
Common
expect class BlurEffect(
renderEffect: RenderEffect?,
radiusX: Float,
radiusY: Float = radiusX,
edgeTreatment: TileMode = TileMode.Clamp,
) : RenderEffect
RenderEffect that will blur the contents of an optional input RenderEffect. If no input
RenderEffect is provided, the drawing commands on the GraphicsLayerScope this RenderEffect
is configured on will be blurred.
Parameters
| renderEffect | Optional input RenderEffect to be blurred |
| radiusX | Blur radius in the horizontal direction |
| radiusY | Blur radius in the vertical direction |
| edgeTreatment | Strategy used to render pixels outside of bounds of the original input |
Android
actual class BlurEffect
actual constructor(
private val renderEffect: RenderEffect?,
private val radiusX: Float,
private val radiusY: Float,
private val edgeTreatment: TileMode,
) : RenderEffect()
