# Double4

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in[API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# Double4

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/renderscript/Double4 "View this page in Java")  

```
open class Double4
```

|---|--------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                               ||
| ↳ | [android.renderscript.Double4](https://developer.android.com/reference/kotlin/android/renderscript/Double4#) |

*** ** * ** ***

| **This class was deprecated in API level 31.**
|
| Renderscript has been deprecated in API level 31. Please refer to the[migration guide](https://developer.android.com/guide/topics/renderscript/migration-guide)for the proposed alternatives.

Vector version of the basic double type. Provides four double fields packed.

## Summary

|                                                                                                                                                                                                                                                               Public constructors                                                                                                                                                                                                                                                                ||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [Double4](https://developer.android.com/reference/kotlin/android/renderscript/Double4#Double4())`()` <br />                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [Double4](https://developer.android.com/reference/kotlin/android/renderscript/Double4#Double4(kotlin.Double,%20kotlin.Double,%20kotlin.Double,%20kotlin.Double))`(`x:` `[Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)`, `y:` `[Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)`, `z:` `[Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)`, `w:` `[Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)`)` <br /> |

|                                                                                        Properties                                                                                         ||
|----------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|
| [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) | [w](https://developer.android.com/reference/kotlin/android/renderscript/Double4#w:kotlin.Double) <br /> |
| [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) | [x](https://developer.android.com/reference/kotlin/android/renderscript/Double4#x:kotlin.Double) <br /> |
| [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) | [y](https://developer.android.com/reference/kotlin/android/renderscript/Double4#y:kotlin.Double) <br /> |
| [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) | [z](https://developer.android.com/reference/kotlin/android/renderscript/Double4#z:kotlin.Double) <br /> |

## Public constructors

### Double4

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
Double4()
```  

### Double4

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
Double4(
    x: Double, 
    y: Double, 
    z: Double, 
    w: Double)
```

## Properties

### w

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
var w: Double
```

**Deprecated:** *Deprecated in Java.*  

### x

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
var x: Double
```

**Deprecated:** *Deprecated in Java.*  

### y

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
var y: Double
```

**Deprecated:** *Deprecated in Java.*  

### z

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
var z: Double
```

**Deprecated:** *Deprecated in Java.*