Share via


AllocationAdapter.SetX(Int32) Method

Definition

Set the active X.

[Android.Runtime.Register("setX", "(I)V", "GetSetX_IHandler", ApiSince=23)]
public virtual void SetX (int x);
[<Android.Runtime.Register("setX", "(I)V", "GetSetX_IHandler", ApiSince=23)>]
abstract member SetX : int -> unit
override this.SetX : int -> unit

Parameters

x
Int32

The x to make active.

Attributes

Remarks

Set the active X. The x value must be within the range for the allocation being adapted.

Java documentation for android.renderscript.AllocationAdapter.setX(int).

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