com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class Operator.SetRGBColor

  • Enclosing class:
    Operator


    public static class Operator.SetRGBColor
    extends Operator.SetColorOperator

    Class representing rg operator (set RGB color for non-stroknig operators).

    • Constructor Detail

      • SetRGBColor

        public SetRGBColor(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
      • SetRGBColor

        public SetRGBColor(Color color)

        Initializes operator with color.

        Parameters:
        color - Specfied color.
    • 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 the operator.

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

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