Google is committed to advancing racial equity for Black communities. See how.
Added in API level 11

Float2

open class Float2
kotlin.Any
   ↳ android.renderscript.Float2

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

Summary

Public constructors

<init>(x: Float, y: Float)

Properties
Float

Float

Public constructors

<init>

Added in API level 11
Float2()

<init>

Added in API level 11
Float2(
    x: Float,
    y: Float)

Properties

x

Added in API level 11
var x: Float

y

Added in API level 11
var y: Float