DeviceCMYK

Properties

Link copied to clipboard
open override val componentCount: Int = 4

Number of input components (1 for Gray, 3 for RGB/Lab, 4 for CMYK).

Functions

Link copied to clipboard
open override fun defaultColor(): RgbColor

Default fill colour at "the colour space is set to me" — black-equivalent.

Link copied to clipboard
open override fun toRgb(components: DoubleArray): RgbColor

Convert a sample (one float per component, all in 0,1) to RGB.