Udostępnij za pośrednictwem


AllocationAdapter.SetY(Int32) Method

Definition

Set the active Y.

[Android.Runtime.Register("setY", "(I)V", "GetSetY_IHandler")]
public virtual void SetY (int y);
[<Android.Runtime.Register("setY", "(I)V", "GetSetY_IHandler")>]
abstract member SetY : int -> unit
override this.SetY : int -> unit

Parameters

y
Int32

The y to make active.

Attributes

Remarks

Set the active Y. The y value must be within the range for the allocation being adapted. The base allocation must contain the Y dimension.

Java documentation for android.renderscript.AllocationAdapter.setY(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