geotrellis.data

Color

object Color

All colors in geotrellis are encoded as RGBA integer values.

This object provides utility methods that operate on RGBA integer values.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Color
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isGrey(x: Int): Boolean

    Annotations
    @inline()
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. final def isOpaque(x: Int): Boolean

    Annotations
    @inline()
  16. final def isTransparent(x: Int): Boolean

    Annotations
    @inline()
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  20. def rgbToRgba(rgb: Int): Int

  21. def spread(colors: Array[Int], n: Int): Array[Int]

    This method is used for cases in which we are provided with a different number of colors than we need.

    This method is used for cases in which we are provided with a different number of colors than we need. This method will return a smaller list of colors the provided list of colors, spaced out amongst the provided color list.

    For example, if we are provided a list of 9 colors on a red to green gradient, but only need a list of 3, we expect to get back a list of 3 colors with the first being red, the second color being the 5th color (between red and green), and the last being green.

    colors

    Provided RGBA color values

    n

    Length of list to return

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. final def unzip(x: Int): (Int, Int, Int, Int)

  25. final def unzipA(x: Int): Int

    Annotations
    @inline()
  26. final def unzipB(x: Int): Int

    Annotations
    @inline()
  27. final def unzipG(x: Int): Int

    Annotations
    @inline()
  28. final def unzipR(x: Int): Int

    Annotations
    @inline()
  29. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  32. final def zip(r: Int, g: Int, b: Int, a: Int): Int

    Annotations
    @inline()

Inherited from AnyRef

Inherited from Any

Ungrouped