Color

case class Color(red: Float, green: Float, blue: Float, alpha: Float)

Represents a color in RGBA space.

Value parameters:
alpha

The alpha component of this color in the range [0-1].

blue

The blue component of this color in the range [0-1].

green

The green component of this color in the range [0-1].

red

The red component of this color in the range [0-1].

Companion:
object
Source:
structures.scala
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product