Condividi tramite


RenderEffect.CreateBlurEffect Method

Definition

Overloads

CreateBlurEffect(Single, Single, Shader+TileMode)

Create a RenderEffect that blurs the contents of the optional input RenderEffect with the specified radius along the x and y axis.

CreateBlurEffect(Single, Single, RenderEffect, Shader+TileMode)

Create a RenderEffect that blurs the contents of the optional input RenderEffect with the specified radius along the x and y axis.

CreateBlurEffect(Single, Single, Shader+TileMode)

Create a RenderEffect that blurs the contents of the optional input RenderEffect with the specified radius along the x and y axis.

[Android.Runtime.Register("createBlurEffect", "(FFLandroid/graphics/Shader$TileMode;)Landroid/graphics/RenderEffect;", "", ApiSince=31)]
public static Android.Graphics.RenderEffect CreateBlurEffect (float radiusX, float radiusY, Android.Graphics.Shader.TileMode edgeTreatment);
[<Android.Runtime.Register("createBlurEffect", "(FFLandroid/graphics/Shader$TileMode;)Landroid/graphics/RenderEffect;", "", ApiSince=31)>]
static member CreateBlurEffect : single * single * Android.Graphics.Shader.TileMode -> Android.Graphics.RenderEffect

Parameters

radiusX
Single

Radius of blur along the X axis

radiusY
Single

Radius of blur along the Y axis

edgeTreatment
Shader.TileMode

Policy for how to blur content near edges of the blur kernel

Returns

Attributes

Remarks

Java documentation for android.graphics.RenderEffect.createBlurEffect(float, float, android.graphics.RenderEffect, android.graphics.TileMode).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

CreateBlurEffect(Single, Single, RenderEffect, Shader+TileMode)

Create a RenderEffect that blurs the contents of the optional input RenderEffect with the specified radius along the x and y axis.

[Android.Runtime.Register("createBlurEffect", "(FFLandroid/graphics/RenderEffect;Landroid/graphics/Shader$TileMode;)Landroid/graphics/RenderEffect;", "", ApiSince=31)]
public static Android.Graphics.RenderEffect CreateBlurEffect (float radiusX, float radiusY, Android.Graphics.RenderEffect inputEffect, Android.Graphics.Shader.TileMode edgeTreatment);
[<Android.Runtime.Register("createBlurEffect", "(FFLandroid/graphics/RenderEffect;Landroid/graphics/Shader$TileMode;)Landroid/graphics/RenderEffect;", "", ApiSince=31)>]
static member CreateBlurEffect : single * single * Android.Graphics.RenderEffect * Android.Graphics.Shader.TileMode -> Android.Graphics.RenderEffect

Parameters

radiusX
Single

Radius of blur along the X axis

radiusY
Single

Radius of blur along the Y axis

inputEffect
RenderEffect

Input RenderEffect 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 RenderEffect

edgeTreatment
Shader.TileMode

Policy for how to blur content near edges of the blur kernel

Returns

Attributes

Remarks

Java documentation for android.graphics.RenderEffect.createBlurEffect(float, float, android.graphics.RenderEffect, android.graphics.TileMode).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to