Packages

final case class HSLA(h: Angle, s: Normalized, l: Normalized, a: Normalized) extends Color with Product with Serializable

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

Instance Constructors

  1. new HSLA(h: Angle, s: Normalized, l: Normalized, a: Normalized)

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. val a: Normalized
  5. def alpha(a: Normalized): Color

    Copies this color, changing the alpha to the given value

    Copies this color, changing the alpha to the given value

    Definition Classes
    Color
  6. def alpha: Normalized
    Definition Classes
    Color
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def blue: UnsignedByte
    Definition Classes
    Color
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. 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

    Definition Classes
    Color
  11. 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.

    Definition Classes
    Color
  12. 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

    Definition Classes
    Color
  13. 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.

    Definition Classes
    Color
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def fadeIn(opacity: Normalized): HSLA

    Increase the alpha channel by the given amount.

    Increase the alpha channel by the given amount.

    Definition Classes
    Color
  16. def fadeInBy(opacity: Normalized): HSLA

    Increase the alpha channel by the given relative amount.

    Increase the alpha channel by the given relative amount.

    Definition Classes
    Color
  17. def fadeOut(opacity: Normalized): HSLA

    Decrease the alpha channel by the given amount.

    Decrease the alpha channel by the given amount.

    Definition Classes
    Color
  18. def fadeOutBy(opacity: Normalized): HSLA

    Decrease the alpha channel by the given relative amount.

    Decrease the alpha channel by the given relative amount.

    Definition Classes
    Color
  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
    Definition Classes
    Color
  22. val h: Angle
  23. def hue(angle: Angle): Color

    Copies this color, changing the hue to the given value

    Copies this color, changing the hue to the given value

    Definition Classes
    Color
  24. def hue: Angle
    Definition Classes
    Color
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. val l: Normalized
  27. 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

    Definition Classes
    Color
  28. 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.

    Definition Classes
    Color
  29. def lightness(l: Normalized): Color

    Copies this color, changing the lightness to the given value

    Copies this color, changing the lightness to the given value

    Definition Classes
    Color
  30. def lightness: Normalized
    Definition Classes
    Color
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. def red: UnsignedByte
    Definition Classes
    Color
  35. val s: Normalized
  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

    Definition Classes
    Color
  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.

    Definition Classes
    Color
  38. def saturation(s: Normalized): Color

    Copies this color, changing the saturation to the given value

    Copies this color, changing the saturation to the given value

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

    Rotate hue by the given angle

    Rotate hue by the given angle

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

    True if this is approximately equal to that

    True if this is approximately equal to that

    Definition Classes
    Color

Inherited from Color

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped