Packages

sealed trait Color extends Product

Linear Supertypes
Product, Equals, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Color
  2. Product
  3. Equals
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def argb: 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.

  2. abstract def canEqual(that: Any): Boolean
    Definition Classes
    Equals
  3. abstract def id: Int

    The identifier is used for serialization.

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

  4. abstract def name: String

    Either predefined name or "User"

  5. abstract def productArity: Int
    Definition Classes
    Product
  6. abstract def productElement(n: Int): Any
    Definition Classes
    Product

Concrete Value Members

  1. def productElementName(n: Int): String
    Definition Classes
    Product
  2. def productElementNames: Iterator[String]
    Definition Classes
    Product
  3. def productIterator: Iterator[Any]
    Definition Classes
    Product
  4. def productPrefix: String
    Definition Classes
    Product

Deprecated Value Members

  1. def rgba: Int

    Technically the bits are sorted as 'ARGB'!

    Technically the bits are sorted as 'ARGB'!

    Annotations
    @deprecated
    Deprecated

    (Since version 4.14.1) Use argb instead