Blur
data class Blur(val radiusX: Float, val radiusY: Float, val edgeTreatment: Shader.TileMode, val inputEffect: LithoRenderEffect? = null) : LithoRenderEffect
A LithoRenderEffect that blurs the contents of the optional input RenderEffect with the specified radius along the x and y axis. If no input LithoRenderEffect is provided then all drawing commands issued with a android.graphics.RenderNode that this LithoRenderEffect is installed in will be blurred
Parameters
radiusX
Radius of blur along the X axis
radiusY
Radius of blur along the Y axis
edgeTreatment
Policy for how to blur content near edges of the blur kernel
inputEffect
Input LithoRenderEffect that provides the content to be blurred, can be null to indicate that the drawing commands on the RenderNode are to be blurred instead of the input LithoRenderEffect
Constructors
Link copied to clipboard
constructor(radiusX: Float, radiusY: Float, edgeTreatment: Shader.TileMode, inputEffect: LithoRenderEffect? = null)
Functions
Link copied to clipboard
Creates a RenderEffect instance from this LithoRenderEffect.