com.sksamuel.scrimage

Pixel

final case class Pixel(argb: Int) extends AnyVal with Product with Serializable

A pixel is an encoding of a color value used in rasters. The pixel is encoded using an ARGB packed int

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

Instance Constructors

  1. new Pixel(argb: Int)

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: Int

  5. val argb: Int

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def blue: Int

  8. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  9. def green: Int

  10. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  11. def mapByComponent(f: (Int) ⇒ Int): Pixel

  12. def red: Int

  13. def toARGBInt: Int

  14. def toColor: RGBColor

  15. def toInt: Int

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Ungrouped