Packages

implicit final class ExOps extends AnyVal

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

Instance Constructors

  1. new ExOps(x: Ex[Color])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. def alpha: Ex[Double]

    Alpha component in the range of 0 to 1.

    Alpha component in the range of 0 to 1. Zero is fully transparent, one is fully opaque.

  5. def argb: Ex[Int]

    Raw 24-bit integer color value, with 8-bits for alpha, red, green, blue.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def blue: Ex[Double]

    Blue component in the range of 0 to 1.

  8. def brightness: Ex[Double]

    Brightness component in the HSB model, in the range of 0 to 1.

  9. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  10. def green: Ex[Double]

    Green component in the range of 0 to 1.

  11. def hue: Ex[Double]

    Hue component in the HSB model, in the range of 0 to 1.

    Hue component in the HSB model, in the range of 0 to 1. By definition this value is cyclic.

  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def luminance: Ex[Double]

    Relative luminance, defined as 0.2126 red + 0.7152 green + 0.0722 blue.

    Relative luminance, defined as 0.2126 red + 0.7152 green + 0.0722 blue. Alpha is not taken into account.

  14. def mix(b: Ex[Color], w: Ex[Double] = 0.5): Ex[Color]

    Mixes this color with a second color b, where the weight (amount) of b is w and the weight of this color is 1 - b.

    Mixes this color with a second color b, where the weight (amount) of b is w and the weight of this color is 1 - b. This interpolation is done in the RGB model.

  15. def mixHSB(b: Ex[Color], w: Ex[Double] = 0.5): Ex[Color]

    Mixes this color with a second color b, where the weight of b is w and the weight of this color is 1 - b.

    Mixes this color with a second color b, where the weight of b is w and the weight of this color is 1 - b. This interpolation is done in the HSB model.

  16. def red: Ex[Double]

    Red component in the range of 0 to 1.

  17. def saturation: Ex[Double]

    Saturation component in the HSB model, in the range of 0 to 1.

  18. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped