Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 11

Int2

public class Int2
extends Object

java.lang.Object
   ↳ android.renderscript.Int2


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