RGBA

indigo.shared.datatypes.RGBA
See theRGBA companion object
final case class RGBA(r: Double, g: Double, b: Double, a: Double)

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def +(other: RGBA): RGBA
def mix(other: RGBA, amount: Double): RGBA
def mix(other: RGBA): RGBA
def toArray: Array[Float]
def toHexString: String
def toHexString(prefix: String): String
def toRGB: RGB
def withAlpha(newAlpha: Double): RGBA
def withAmount(amount: Double): RGBA
def withBlue(newBlue: Double): RGBA
def withGreen(newGreen: Double): RGBA
def withRed(newRed: Double): RGBA

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product