Added in API level 11
Deprecated in API level 31

Short2


public class Short2
extends Object

java.lang.Object
   ↳ android.renderscript.Short2


This class was deprecated in API level 31.
Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.

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

Fields

public short x

public short y

Public constructors

Short2()
Short2(short x, short y)

Inherited methods

Fields

x

Added in API level 11
public short x

y

Added in API level 11
public short y

Public constructors

Short2

Added in API level 11
public Short2 ()

Short2

Added in API level 14
public Short2 (short x, 
                short y)

Parameters
x short

y short