case class CMYKColor(cyan: Int, magenta: Int, yellow: Int, key: Int) extends DigitalColor[CMYKChannel, Int, CMYKColor] with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CMYKColor
- Serializable
- Product
- Equals
- DigitalColor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new CMYKColor(cyan: Int, magenta: Int, yellow: Int, key: Int)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def adjustAll(f: (Int) => Int): CMYKColor
lighten/darken overall color
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clamp(x: Int): Int
Ensures channel values stay within 0–100
Ensures channel values stay within 0–100
- Attributes
- protected
- Definition Classes
- CMYKColor → DigitalColor
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- val cyan: Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- 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
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val key: Int
- val magenta: Int
- def modifyChannel(channel: CMYKChannel)(f: (Int) => Int): CMYKColor
Curried higher-order modifier for channel transformations
Curried higher-order modifier for channel transformations
- Definition Classes
- CMYKColor → DigitalColor
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
human-readable debug string
human-readable debug string
- Definition Classes
- CMYKColor → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val yellow: Int
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)