Class/Object

com.sksamuel.scrimage

Pixel

Related Docs: object Pixel | package scrimage

Permalink

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, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Pixel
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyVal
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Pixel(argb: Int)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. def alpha: Int

    Permalink
  5. val argb: Int

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def blue: Int

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

    Permalink
    Definition Classes
    AnyVal → Any
  9. def green: Int

    Permalink
  10. final def isInstanceOf[T0]: Boolean

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

    Permalink
  12. def red: Int

    Permalink
  13. def toARGBInt: Int

    Permalink
  14. def toColor: RGBColor

    Permalink
  15. def toInt: Int

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyVal

Inherited from Any

Ungrouped