com.aspose.pdf.operators

Class ConcatenateMatrix



  • public class ConcatenateMatrix
    extends Operator

    Class representing cm operator (concatenate matrix to current transformation matrix).

    • Constructor Detail

      • ConcatenateMatrix

        public ConcatenateMatrix(int index,
                                 com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)

        Constructor for operator class.

        Parameters:
        index - Index of operator.
        command - Operator command.
      • ConcatenateMatrix

        public ConcatenateMatrix(double a,
                                 double b,
                                 double c,
                                 double d,
                                 double e,
                                 double f)

        Constructor for operator class.

        Parameters:
        a - A coefficient
        b - B coefficient
        c - C coefficient
        d - D coefficient
        e - E coefficient
        f - F coefficient
      • ConcatenateMatrix

        public ConcatenateMatrix(Matrix m)

        Initializes operator by matrix.

        Parameters:
        m - Transfomation matrix.
    • Method Detail

      • getMatrix

        public Matrix getMatrix()

        Matrix argument of the operator.

        Returns:
        Matrix object
      • setMatrix

        public void setMatrix(Matrix value)

        Matrix argument of the operator.

        Parameters:
        value - Matrix object
      • 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 representation
      • fromCommand

        public void fromCommand(com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
        Description copied from class: Operator
        For internal usage only!

        Loads operator from command

        Parameters:
        command - ICommand value
      • toCommand

        public com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand toCommand()
        Description copied from class: Operator
        For internal usage only!

        saves operator to command

        Returns:
        ICommand value ICommand object