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