ColorAdd

inline class ColorAdd(val value: Int)

Constructors

Link copied to clipboard
constructor(value: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val a: Int

-255, +255

Link copied to clipboard
val af: Float

-1f, +1f

Link copied to clipboard
val b: Int

-255, +255

Link copied to clipboard
val bf: Float

-1f, +1f

Link copied to clipboard
val g: Int

-255, +255

Link copied to clipboard
val gf: Float

-1f, +1f

Link copied to clipboard
val r: Int

-255, +255

Link copied to clipboard
val rf: Float

-1f, +1f

Link copied to clipboard
val rgba: Int
Link copied to clipboard
Link copied to clipboard
val value: Int

Functions

Link copied to clipboard
fun readFloat(out: FloatArray, index: Int = 0)
Link copied to clipboard
fun toInt(): Int
Link copied to clipboard
fun withA(a: Int): ColorAdd
Link copied to clipboard
fun withB(b: Int): ColorAdd
Link copied to clipboard
fun withG(g: Int): ColorAdd
Link copied to clipboard
fun withR(r: Int): ColorAdd