Added in API level 11

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

<init>(x: Short, y: Short)

Properties

Short

Short

Public constructors

<init>

Added in API level 11
Short2()

<init>

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

Properties

x

Added in API level 11
var x: Short

y

Added in API level 11
var y: Short