c

coloring

CMYKColor

case class CMYKColor(cyan: Int, magenta: Int, yellow: Int, key: Int) extends DigitalColor[CMYKChannel, Int, CMYKColor] with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, DigitalColor[CMYKChannel, Int, CMYKColor], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CMYKColor
  2. Serializable
  3. Product
  4. Equals
  5. DigitalColor
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CMYKColor(cyan: Int, magenta: Int, yellow: Int, key: Int)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def adjustAll(f: (Int) => Int): CMYKColor

    lighten/darken overall color

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clamp(x: Int): Int

    Ensures channel values stay within 0–100

    Ensures channel values stay within 0–100

    Attributes
    protected
    Definition Classes
    CMYKColorDigitalColor
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  8. val cyan: Int
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  11. def increaseChannel(channel: CMYKChannel, delta: Int)(implicit numeric: Numeric[Int]): CMYKColor

    Increase a channel by an amount

    Increase a channel by an amount

    Definition Classes
    DigitalColor
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val key: Int
  14. val magenta: Int
  15. def modifyChannel(channel: CMYKChannel)(f: (Int) => Int): CMYKColor

    Curried higher-order modifier for channel transformations

    Curried higher-order modifier for channel transformations

    Definition Classes
    CMYKColorDigitalColor
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. def productElementNames: Iterator[String]
    Definition Classes
    Product
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String

    human-readable debug string

    human-readable debug string

    Definition Classes
    CMYKColor → AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. val yellow: Int

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from DigitalColor[CMYKChannel, Int, CMYKColor]

Inherited from AnyRef

Inherited from Any

Ungrouped