Packages

p

coloring

package coloring

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait CMYKChannel extends Channel
  2. case class CMYKColor(cyan: Int, magenta: Int, yellow: Int, key: Int) extends DigitalColor[CMYKChannel, Int, CMYKColor] with Product with Serializable
  3. sealed trait Channel extends AnyRef

    Represents the available RGB color channels.

    Represents the available RGB color channels. Each channel corresponds to one component of the RGB color model.

  4. trait DigitalColor[C <: Channel, V, Self <: DigitalColor[C, V, Self]] extends AnyRef
  5. sealed trait RGBChannel extends Channel
  6. case class RGBColor(red: Int, green: Int, blue: Int, alpha: Int = 255) extends DigitalColor[RGBChannel, Int, RGBColor] with Product with Serializable

    Represents an RGB color with red, green, and blue components.

    Represents an RGB color with red, green, and blue components.

    red

    the intensity of the red channel (0–255)

    green

    the intensity of the green channel (0–255)

    blue

    the intensity of the blue channel (0–255)

Value Members

  1. case object Alpha extends RGBChannel with Product with Serializable
  2. case object Blue extends RGBChannel with Product with Serializable

    Represents the blue channel of an RGB color.

  3. case object Cyan extends CMYKChannel with Product with Serializable
  4. case object Green extends RGBChannel with Product with Serializable

    Represents the green channel of an RGB color.

  5. case object Key extends CMYKChannel with Product with Serializable
  6. case object Magenta extends CMYKChannel with Product with Serializable
  7. object RGBColor extends Serializable

    Companion object for RGBColor providing utility factory methods.

  8. case object Red extends RGBChannel with Product with Serializable

    Represents the red channel of an RGB color.

  9. case object Yellow extends CMYKChannel with Product with Serializable

Ungrouped