com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class Operator.SetColorStroke

    • Constructor Detail

      • Operator.SetColorStroke

        public Operator.SetColorStroke()

        Initializes operator.

      • Operator.SetColorStroke

        public Operator.SetColorStroke(double g)

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

        Parameters:
        g - Colro value.
      • Operator.SetColorStroke

        public Operator.SetColorStroke(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.SetColorStroke

        public Operator.SetColorStroke(double[] color)

        Constructor which allows to set color components.

        Parameters:
        color - Array of color components.
      • Operator.SetColorStroke

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

        Set color for strokinbg operator for CMYK colro space

        Parameters:
        c - cyan component.
        m - Magenta component.
        y - Yellow component.
        k - Black component.
    • Method Detail

      • accept

        public void accept(IOperatorSelector visitor)

        Accepts visitor object to process operator.

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