com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class Operator.SetRGBColorStroke

  • Enclosing class:
    Operator


    public static class Operator.SetRGBColorStroke
    extends Operator.SetColorOperator

    Class representing RG operator (set RGB color for stroking operators).

    • Constructor Detail

      • Operator.SetRGBColorStroke

        public Operator.SetRGBColorStroke(double r,
                                  double g,
                                  double b)

        Constructor for writing program.

        Parameters:
        r - The level of red from 0.0 to 1.0
        g - The level of green from 0.0 to 1.0
        b - The level of blue from 0.0 to 1.0
      • Operator.SetRGBColorStroke

        public Operator.SetRGBColorStroke(Color color)

        Initializes operator with color.

        Parameters:
        color - java.awt.Color object
    • Method Detail

      • accept

        public void accept(IOperatorSelector visitor)

        Accepts visitor object to process operator.

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

        public String toString()

        Returns text representation of operator.

        Overrides:
        toString in class Operator
        Returns:
        Text representation of operator.
      • getCMYKColor

        public void getCMYKColor(double[] rgb,
                        double[] cmykOut)