Class DeviceCMYKColorSpace

All Implemented Interfaces:
Serializable, ColorSpaceOrigin

public class DeviceCMYKColorSpace extends AbstractDeviceSpecificColorSpace implements ColorSpaceOrigin
This class represents an uncalibrated CMYK color space.
See Also:
  • Field Details

    • PSEUDO_PROFILE_NAME

      public static final String PSEUDO_PROFILE_NAME
      The name for the uncalibrated CMYK pseudo-profile
      See Also:
  • Constructor Details

  • Method Details

    • getInstance

      @Deprecated public static DeviceCMYKColorSpace getInstance()
      Deprecated.
      Returns an instance of an uncalibrated CMYK color space.
      Returns:
      CMYKColorSpace the requested color space object
    • toRGB

      public float[] toRGB(float[] colorvalue)
      Specified by:
      toRGB in class ColorSpace
    • fromRGB

      public float[] fromRGB(float[] rgbvalue)
      Specified by:
      fromRGB in class ColorSpace
    • toCIEXYZ

      public float[] toCIEXYZ(float[] colorvalue)
      Specified by:
      toCIEXYZ in class ColorSpace
    • fromCIEXYZ

      public float[] fromCIEXYZ(float[] colorvalue)
      Specified by:
      fromCIEXYZ in class ColorSpace
    • createCMYKColor

      public static Color createCMYKColor(float[] cmykComponents)
      Creates a color instance representing a device-specific CMYK color. An sRGB value is calculated from the CMYK colors but it may not correctly represent the given CMYK values.
      Parameters:
      cmykComponents - the CMYK components
      Returns:
      the device-specific color
    • getProfileName

      public String getProfileName()
      Returns the name of the profile used to identify the color space in a particular context.
      Specified by:
      getProfileName in interface ColorSpaceOrigin
      Returns:
      the profile name
    • getProfileURI

      public String getProfileURI()
      Returns the URI identifying the associate color profile.
      Specified by:
      getProfileURI in interface ColorSpaceOrigin
      Returns:
      the profile URI