Android Developers Develop Reference Added in API level 11Deprecated in API level 31 Int2 Kotlin |Java open class Int2 kotlin.Any ↳ android.renderscript.Int2 Vector version of the basic int type. Provides two int fields packed. Summary Public constructors Int2() Int2(x: Int, y: Int) Properties Int x Int y Public constructors Int2 Added in API level 11 Int2() Int2 Added in API level 14 Int2( x: Int, y: Int) Properties x Added in API level 11 var x: Int Deprecated: Deprecated in Java. y Added in API level 11 var y: Int Deprecated: Deprecated in Java.