Class SetCMYKColor

  • public class SetCMYKColor
    extends SetColorOperator

    Class representing k operator (set CMYK color for non-stroknig operations).

    • Constructor Detail

      • SetCMYKColor

        public SetCMYKColor(double c,
                            double m,
                            double y,
                            double k)

        Initializes operator.

        c - The level of cyan from 0.0 to 1.0
        m - The level of magenta from 0.0 to 1.0
        y - The level of yellow from 0.0 to 1.0
        k - The level of black from 0.0 to 1.0
      • SetCMYKColor

        public SetCMYKColor(int index,
                            com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
    • Method Detail

      • accept

        public void accept(IOperatorSelector visitor)

        Accepts visitor object to process operator.

        Specified by:
        accept in class Operator
        visitor - Visitor object.
      • getRGBColor

        public void getRGBColor(double[] cmyk,
                                double[] rgbOut)