lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in API level 11

Float2

public class Float2
extends Object

java.lang.Object
   ↳ android.renderscript.Float2


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