com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class Operator.SetColor

    • Constructor Detail

      • Operator.SetColor

        public Operator.SetColor()

        Initializes operator.

      • Operator.SetColor

        public Operator.SetColor(double g)

        Set color for stroking operators for DeviceGrey, CalGrey and Indexed color spaces.

        Parameters:
        g - Color value.
      • Operator.SetColor

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

        Set color for stroking operator for DeviceRGB, CalRGB, and Lab color spaces

        Parameters:
        r - Red component.
        g - Green component.
        b - Blue component.
      • Operator.SetColor

        public Operator.SetColor(double c,
                         double m,
                         double y,
                         double k)

        Set color for non-stroking operator for CMYK colro space

        Parameters:
        c - Cyan component.
        m - Magenta component.
        y - Yellow component.
        k - Black component.
      • Operator.SetColor

        public Operator.SetColor(double[] color)

        Constructor which allows to specify color components.

        Parameters:
        color - Array of color components.