Color

sealed
trait Color extends Product
Companion
object
trait Product
trait Equals
class Object
trait Matchable
class Any
class User

Value members

Abstract methods

def id: Int

The identifier is used for serialization. Predefined colors have an id smaller than 16, user colors have an id of 16.

The identifier is used for serialization. Predefined colors have an id smaller than 16, user colors have an id of 16.

def name: String

Either predefined name or "User"

Either predefined name or "User"

def rgba: Int

Value consisting of the alpha component in bits 24-31, the red component in bits 16-23, the green component in bits 8-15, and the blue component in bits 0-7.

Value consisting of the alpha component in bits 24-31, the red component in bits 16-23, the green component in bits 8-15, and the blue component in bits 0-7.

So technically the bits are sorted as 'ARGB'

Inherited methods

def canEqual(that: Any): Boolean
Inherited from
Equals
def productArity: Int
Inherited from
Product
def productElement(n: Int): Any
Inherited from
Product
def productElementName(n: Int): String
Inherited from
Product
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def productPrefix: String
Inherited from
Product