com.aspose.pdf.operators

Class SetAdvancedColor

    • Constructor Detail

      • SetAdvancedColor

        public SetAdvancedColor(int index,
                                com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)

        Constructor for operator class.

        Parameters:
        index - Index of operator.
        command - Operator command.
      • SetAdvancedColor

        public SetAdvancedColor()

        Initializes operator.

      • SetAdvancedColor

        public SetAdvancedColor(double g,
                                String patternName)

        Constructor for scn operator.

        Parameters:
        g - Color value.
        patternName - Pattern name.
      • SetAdvancedColor

        public SetAdvancedColor(double g)

        Constructor for scn operator

        Parameters:
        g - Color value.
      • SetAdvancedColor

        public SetAdvancedColor(double r,
                                double g,
                                double b,
                                String patternName)

        Constructor for scn operator.

        Parameters:
        r - Red component of the color.
        g - Green component of the color.
        b - Blue component of the color.
        patternName - Pattern name.
      • SetAdvancedColor

        public SetAdvancedColor(double c,
                                double m,
                                double y,
                                double k,
                                String patternName)

        Constructor for scn operator.

        Parameters:
        c - Cyan component of the color.
        m - Magenta component of the color.
        y - Yellow component of the color.
        k - Black component of the color.
        patternName - String object Pattern name.
    • Method Detail

      • getColor

        public Color getColor()
        Not supported yet.

        Returns color specified by operator.

        Specified by:
        getColor in class SetColorOperator
        Returns:
        Color set by operator.
      • accept

        public void accept(IOperatorSelector visitor)

        Accepts visitor object to process operator.

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