Added in API level 11
Deprecated in API level 31

Int2


public class Int2
extends Object

java.lang.Object
   ↳ android.renderscript.Int2


This class was deprecated in API level 31.
Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.

Vector version of the basic int type. Provides two int fields packed.

Summary

Fields

public int x

public int y

Public constructors

Int2()
Int2(int x, int y)

Inherited methods

Fields

x

Added in API level 11
public int x

y

Added in API level 11
public int y

Public constructors

Int2

Added in API level 11
public Int2 ()

Int2

Added in API level 14
public Int2 (int x, 
                int y)

Parameters
x int

y int