com.aspose.pdf.operators

Class SetAdvancedColorStroke

    • Constructor Detail

      • SetAdvancedColorStroke

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

        Constructor for operator class.

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

        public SetAdvancedColorStroke()

        Initializes operator.

      • SetAdvancedColorStroke

        public SetAdvancedColorStroke(double g)

        Constructor for scn operator

        Parameters:
        g - double value
      • SetAdvancedColorStroke

        public SetAdvancedColorStroke(double g,
                                      String patternName)

        Constructor for scn operator.

        Parameters:
        g - Gray color value.
        patternName - String object
      • SetAdvancedColorStroke

        public SetAdvancedColorStroke(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 - String object
      • SetAdvancedColorStroke

        public SetAdvancedColorStroke(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 - Name of the pattern.
    • Method Detail

      • getColor

        public Color getColor()
        Not supported yet.

        Returns color specified by operator.

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

        public void accept(IOperatorSelector visitor)

        Accepts visitor object to process operator.

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