Added in API level 11
Deprecated in API level 31

Float2


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

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

Summary

Public constructors

Float2(x: Float, y: Float)

Properties
Float

Float

Public constructors

Float2

Added in API level 11
Float2()

Float2

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

Properties

x

Added in API level 11
var x: Float

Deprecated: Deprecated in Java.

y

Added in API level 11
var y: Float

Deprecated: Deprecated in Java.