Added in API level 11
Deprecated in API level 31

Float2


public class Float2
extends Object

java.lang.Object
   ↳ android.renderscript.Float2


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.

Vector version of the basic float type. Provides two float fields packed.

Summary

Fields

public float x

public float y

Public constructors

Float2()
Float2(float x, float y)

Inherited methods

Fields

x

Added in API level 11
public float x

y

Added in API level 11
public float y

Public constructors

Float2

Added in API level 11
public Float2 ()

Float2

Added in API level 11
public Float2 (float x, 
                float y)

Parameters
x float

y float