Class/Object

io.youi

Color

Related Docs: object Color | package youi

Permalink

final class Color extends AnyVal

Color provides a primitive wrapper around a Long representing a Color. This class takes up no more memory space than a Long value and can be used to work powerfully around RGBA values.

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Color
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. def alpha: Double

    Permalink
  5. def alphaHex: String

    Permalink
  6. def alphaInt: Int

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def blue: Double

    Permalink
  9. def blueHex: String

    Permalink
  10. def blueInt: Int

    Permalink
  11. def brightness: Double

    Permalink
  12. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  13. def green: Double

    Permalink
  14. def greenHex: String

    Permalink
  15. def greenInt: Int

    Permalink
  16. def hue: Double

    Permalink
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def red: Double

    Permalink
  19. def redHex: String

    Permalink
  20. def redInt: Int

    Permalink
  21. def saturation: Double

    Permalink
  22. def toHex: String

    Permalink
  23. def toRGBA: String

    Permalink
  24. def toString(): String

    Permalink
    Definition Classes
    Color → Any
  25. val value: Long

    Permalink
  26. def withAlpha(alpha: Double): Color

    Permalink
  27. def withBlue(blue: Double): Color

    Permalink
  28. def withBrightness(brightness: Double): Color

    Permalink
  29. def withGreen(green: Double): Color

    Permalink
  30. def withHue(hue: Double): Color

    Permalink
  31. def withRed(red: Double): Color

    Permalink
  32. def withSaturation(saturation: Double): Color

    Permalink

Inherited from AnyVal

Inherited from Any

Ungrouped