Constructors

Link copied to clipboard
constructor()
constructor(red: Float, green: Float, blue: Float, alpha: Float)
constructor(red: Int, green: Int, blue: Int, alpha: Int)
constructor(hex: String)

Properties

Link copied to clipboard
var a: Float
Link copied to clipboard
Link copied to clipboard
var b: Float
Link copied to clipboard
var blue: Float
Link copied to clipboard
open override val count: Int

Number of individual instances this object represents

Link copied to clipboard
open override val dataType: ZDataType

The data type stored

Link copied to clipboard
open override val floatArray: FloatArray
Link copied to clipboard
var g: Float
Link copied to clipboard
Link copied to clipboard
var r: Float
Link copied to clipboard
var red: Float
Link copied to clipboard
open override val size: Int

Number of elements contained within the values array with the specific type defined in dataType

Functions

Link copied to clipboard
fun colorFromBytes(red: Int, green: Int, blue: Int, alpha: Int)
Link copied to clipboard
fun colorFromFloats(red: Float, green: Float, blue: Float, alpha: Float)
Link copied to clipboard