com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class Operator.SetCMYKColor

  • Enclosing class:
    Operator


    public static class Operator.SetCMYKColor
    extends Operator.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.

        Parameters:
        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
    • Method Detail

      • accept

        public void accept(IOperatorSelector visitor)

        Accepts visitor object to process operator.

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

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