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() @HotSpotIntrinsicCandidate() @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. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def green: UnsignedByte
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def hue(angle: Angle): Color

    Copies this color, changing the hue to the given value

  23. def hue: Angle
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. 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

  26. 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.

  27. def lightness(l: Normalized): Color

    Copies this color, changing the lightness to the given value

  28. def lightness: Normalized
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. def productIterator: Iterator[Any]
    Definition Classes
    Product
  33. def productPrefix: String
    Definition Classes
    Product
  34. def red: UnsignedByte
  35. 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

  36. 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.

  37. def saturation(s: Normalized): Color

    Copies this color, changing the saturation to the given value

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

    Rotate hue by the given angle

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

    True if this is approximately equal to that

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped