# Short4

Added in[API level 11](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)

# Short4

*** ** * ** ***

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

```
open class Short4
```

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

*** ** * ** ***

| **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 short type. Provides four short fields packed.

## Summary

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

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

## Public constructors

### Short4

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

```
Short4()
```  

### Short4

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

```
Short4(
    x: Short, 
    y: Short, 
    z: Short, 
    w: Short)
```

## Properties

### w

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

```
var w: Short
```

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

### x

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

```
var x: Short
```

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

### y

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

```
var y: Short
```

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

### z

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

```
var z: Short
```

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