# Print output for @column tags ?> Float2 - Android SDK | Android Developers

Most visited

Recently visited

Float2

public class Float2
extends Object

java.lang.Object
   ↳ android.renderscript.Float2


This class is deprecated.
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

public float x

y

public float y

Public constructors

Float2

public Float2 ()

Float2

public Float2 (float x, 
                float y)

Parameters
x float

y float