Added in API level 11
Deprecated in API level 31

Short2


open class Short2
kotlin.Any
   ↳ android.renderscript.Short2

Class for exposing the native RenderScript Short2 type back to the Android system. Vector version of the basic short type. Provides two short fields packed.

Summary

Public constructors

Short2(x: Short, y: Short)

Properties
Short

Short

Public constructors

Short2

Added in API level 11
Short2()

Short2

Added in API level 14
Short2(
    x: Short,
    y: Short)

Properties

x

Added in API level 11
var x: Short

Deprecated: Deprecated in Java.

y

Added in API level 11
var y: Short

Deprecated: Deprecated in Java.