Matrix2

data class Matrix2
kotlin.Any
   ↳ androidx.ui.vectormath64.Matrix2

Summary

Public constructors

<init>(x: Vector2 = Vector2(x = 1.0f), y: Vector2 = Vector2(y = 1.0f))

Public methods

operator Matrix2
dec()

operator Matrix2
div(v: Float)

operator Vector2
get(column: Int)

operator Float
get(column: Int, row: Int)

operator Vector2
get(column: MatrixColumn)

operator Float
get(column: MatrixColumn, row: Int)

operator Matrix2
inc()

operator Matrix2

operator Matrix2
plus(v: Float)

operator Unit
set(column: Int, v: Vector2)

operator Unit
set(column: Int, row: Int, v: Float)

operator Matrix2

operator Matrix2

operator Vector2

FloatArray

String

operator Matrix2

Companion functions

Matrix2

Matrix2
of(vararg a: Float)

Properties

List<Float>

Vector2

Vector2

Public constructors

<init>

Matrix2(m: Matrix2)

<init>

Matrix2(
    x: Vector2 = Vector2(x = 1.0f),
    y: Vector2 = Vector2(y = 1.0f))

Public methods

dec

operator fun dec(): Matrix2

div

operator fun div(v: Float): Matrix2

get

operator fun get(column: Int): Vector2

get

operator fun get(
    column: Int,
    row: Int
): Float

get

operator fun get(column: MatrixColumn): Vector2

get

operator fun get(
    column: MatrixColumn,
    row: Int
): Float

inc

operator fun inc(): Matrix2

minus

operator fun minus(v: Float): Matrix2

plus

operator fun plus(v: Float): Matrix2

set

operator fun set(
    column: Int,
    v: Vector2
): Unit

set

operator fun set(
    column: Int,
    row: Int,
    v: Float
): Unit

times

operator fun times(v: Float): Matrix2

times

operator fun times(m: Matrix2): Matrix2

times

operator fun times(v: Vector2): Vector2

toFloatArray

fun toFloatArray(): FloatArray

toString

fun toString(): String

unaryMinus

operator fun unaryMinus(): Matrix2

Properties

m2storage

inline val m2storage: List<Float>

x

var x: Vector2

y

var y: Vector2

Companion functions

identity

fun identity(): Matrix2

of

fun of(vararg a: Float): Matrix2