edu.utexas.cs.sdao.reyes.core

Color

case class Color(r: Float, g: Float, b: Float) extends ColorMap with Product with Serializable

Defines a floating-point color in the RGB color space, with 32-bit precision for each component.

Each component should be in the range 0..1.

Linear Supertypes
Serializable, Serializable, Product, Equals, ColorMap, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Color
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ColorMap
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Color(r: Float, g: Float, b: Float)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def *(right: Float): Color

  5. def *(right: Color): Color

  6. def +(right: Float): Color

  7. def +(right: Color): Color

  8. def -(right: Float): Color

  9. def -(right: Color): Color

  10. def /(right: Float): Color

  11. def /(right: Color): Color

  12. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  14. def ^(right: Float): Color

  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. val b: Float

  17. def clamp: Color

    Adjusts any component that is greater than 1.

    Adjusts any component that is greater than 1.0 down to 1.0.

  18. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. val g: Float

  22. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. val r: Float

  28. def rgb: Int

    Returns the RGB integer value for the current color.

    Returns the RGB integer value for the current color.

    returns

  29. def sampleColor(uv: Vector2): Color

    Samples a color from the map.

    Samples a color from the map.

    uv

    the UV coordinate to sample

    returns

    the color at the UV coordinate

    Definition Classes
    ColorColorMap
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ColorMap

Inherited from AnyRef

Inherited from Any

Ungrouped