Packages

 

com.aspose.imaging.xmp.types.complex.colorant

Class ColorantCmyk

  • All Implemented Interfaces:
    IXmpType


    public final class ColorantCmyk
    extends ColorantBase

    Represents CMYK Colorant.

    • Field Detail

      • COLOR_VALUE_MAX

        public static final float COLOR_VALUE_MAX

        Color max value in CMYK colorant.

        See Also:
        Constant Field Values
      • COLOR_VALUE_MIN

        public static final float COLOR_VALUE_MIN

        Color min value in CMYK colorant.

        See Also:
        Constant Field Values
    • Constructor Detail

      • ColorantCmyk

        public ColorantCmyk()

        Initializes a new instance of the ColorantCmyk class.

      • ColorantCmyk

        public ColorantCmyk(float black,
                            float cyan,
                            float magenta,
                            float yellow)

        Initializes a new instance of the ColorantCmyk class.

        Parameters:
        black - The black component value.
        cyan - The cyan color component value.
        magenta - The magenta component value.
        yellow - The yellow component value.
    • Method Detail

      • getBlack

        public float getBlack()

        Gets or sets the black component value.

        Value: The black component value.
      • setBlack

        public void setBlack(float value)

        Gets or sets the black component value.

        Value: The black component value.
      • getCyan

        public float getCyan()

        Gets or sets the cyan component value.

        Value: The cyan component value.
      • setCyan

        public void setCyan(float value)

        Gets or sets the cyan component value.

        Value: The cyan component value.
      • getMagenta

        public float getMagenta()

        Gets or sets the magenta component value.

        Value: The magenta component value.
      • setMagenta

        public void setMagenta(float value)

        Gets or sets the magenta component value.

        Value: The magenta component value.
      • getYellow

        public float getYellow()

        Gets or sets the yellow component value.

        Value: The yellow component value.
      • setYellow

        public void setYellow(float value)

        Gets or sets the yellow component value.

        Value: The yellow component value.