Partager via


ScriptIntrinsicBlur.Create(RenderScript, Element) Method

Definition

Create an intrinsic for applying a blur to an allocation.

[Android.Runtime.Register("create", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element;)Landroid/renderscript/ScriptIntrinsicBlur;", "")]
public static Android.Renderscripts.ScriptIntrinsicBlur? Create (Android.Renderscripts.RenderScript? rs, Android.Renderscripts.Element? e);
[<Android.Runtime.Register("create", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element;)Landroid/renderscript/ScriptIntrinsicBlur;", "")>]
static member Create : Android.Renderscripts.RenderScript * Android.Renderscripts.Element -> Android.Renderscripts.ScriptIntrinsicBlur

Parameters

rs
RenderScript

The RenderScript context

e
Element

Element type for inputs and outputs

Returns

ScriptIntrinsicBlur

Attributes

Remarks

Create an intrinsic for applying a blur to an allocation. The default radius is 5.0.

Supported elements types are Element#U8, Element#U8_4.

Java documentation for android.renderscript.ScriptIntrinsicBlur.create(android.renderscript.RenderScript, android.renderscript.Element).

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