Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
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