Packages

sealed abstract class Color extends Product with Serializable

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

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean
    Definition Classes
    Equals
  2. abstract def productArity: Int
    Definition Classes
    Product
  3. abstract def productElement(n: Int): Any
    Definition Classes
    Product

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def alpha(a: Normalized): Color

    Copies this color, changing the alpha to the given value

  5. def alpha: Normalized
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def blue: UnsignedByte
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def darken(darkness: Normalized): HSLA

    Darken the color by the given amount.

    Darken the color by the given amount. This is an absolute amount, not an amount relative to the Color's current lightness. Lightness is clipped at Normalized.MaxValue

  10. def darkenBy(darkness: Normalized): HSLA

    Darken the color by the given *relative* amount.

    Darken the color by the given *relative* amount. For example, calling aColor.darkenBy(0.1.normalized decreases the lightness by 10% of the current lightness.

  11. def desaturate(desaturation: Normalized): HSLA

    Desaturate the color by the given amount.

    Desaturate the color by the given amount. This is an absolute amount, not an amount relative to the Color's current saturation. Saturation is clipped at Normalized.MaxValue

  12. def desaturateBy(desaturation: Normalized): HSLA

    Desaturate the color by the given *relative* amount.

    Desaturate the color by the given *relative* amount. For example, calling aColor.desaturateBy(0.1.normalized decreases the saturation by 10% of the current saturation.

  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def fadeIn(opacity: Normalized): HSLA

    Increase the alpha channel by the given amount.

  16. def fadeInBy(opacity: Normalized): HSLA

    Increase the alpha channel by the given relative amount.

  17. def fadeOut(opacity: Normalized): HSLA

    Decrease the alpha channel by the given amount.

  18. def fadeOutBy(opacity: Normalized): HSLA

    Decrease the alpha channel by the given relative amount.

  19. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def green: UnsignedByte
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def hue(angle: Angle): Color

    Copies this color, changing the hue to the given value

  24. def hue: Angle
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def lighten(lightness: Normalized): HSLA

    Lighten the color by the given amount.

    Lighten the color by the given amount. This is an absolute amount, not an amount relative to the Color's current lightness. Lightness is clipped at Normalized.MaxValue

  27. def lightenBy(lightness: Normalized): HSLA

    Lighten the color by the given *relative* amount.

    Lighten the color by the given *relative* amount. For example, calling aColor.lightenBy(0.1.normalized increases the lightness by 10% of the current lightness.

  28. def lightness(l: Normalized): Color

    Copies this color, changing the lightness to the given value

  29. def lightness: Normalized
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. def productIterator: Iterator[Any]
    Definition Classes
    Product
  34. def productPrefix: String
    Definition Classes
    Product
  35. def red: UnsignedByte
  36. def saturate(saturation: Normalized): HSLA

    Saturate the color by the given amount.

    Saturate the color by the given amount. This is an absolute amount, not an amount relative to the Color's current saturation. Saturation is clipped at Normalized.MaxValue

  37. def saturateBy(saturation: Normalized): HSLA

    Saturate the color by the given *relative* amount.

    Saturate the color by the given *relative* amount. For example, calling aColor.saturateBy(0.1.normalized increases the saturation by 10% of the current saturation.

  38. def saturation(s: Normalized): Color

    Copies this color, changing the saturation to the given value

  39. def saturation: Normalized
  40. def spin(angle: Angle): HSLA

    Rotate hue by the given angle

  41. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  42. def toHSLA: HSLA
  43. def toRGBA: RGBA
  44. def toString(): String
    Definition Classes
    AnyRef → Any
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  48. def ~=(that: Color): Boolean

    True if this is approximately equal to that

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped