com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class Operator.Re

  • Enclosing class:
    Operator


    public static class Operator.Re
    extends Operator

    Class representing re operator (add rectangle to the path).

    • Constructor Detail

      • Operator.Re

        public Operator.Re()

        Constructor for extracting goals.

      • Operator.Re

        public Operator.Re(double x,
                   double y,
                   double width,
                   double height)

        Constructor for writing program.

        Parameters:
        x - The x-coordinate of the bottom-left corner of the rectangle.
        y - The y-coordinate of the bottom-left corner of the rectangle.
        width - The width of the rectangle.
        height - The height of the rectangle.
    • Method Detail

      • getX

        public double getX()

        X coordinate of most left side of rectangle.

        Returns:
        double value
      • setX

        public void setX(double value)

        X coordinate of most left side of rectangle.

        Parameters:
        value - double value
      • getY

        public double getY()

        Y coordinate of bottom side of rectangle.

        Returns:
        double value
      • setY

        public void setY(double value)

        Y coordinate of bottom side of rectangle.

        Parameters:
        value - double value
      • getWidth

        public double getWidth()

        Gets width of the rectangle.

        Returns:
        width of the rectangle.
      • setWidth

        public void setWidth(double value)

        Sets width of the rectangle.

        Parameters:
        value - width of the rectangle.
      • getHeight

        public double getHeight()

        Height of the rectangle.

        Returns:
        Height of the rectangle.
      • setHeight

        public void setHeight(double value)

        Height of the rectangle.

        Parameters:
        value - Height of the rectangle.
      • 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 the operator.