Class DeviceCMYKColorSpace

    • Field Detail

      • PSEUDO_PROFILE_NAME

        public static final String PSEUDO_PROFILE_NAME
        The name for the uncalibrated CMYK pseudo-profile
        See Also:
        Constant Field Values
    • Method Detail

      • 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