com.aspose.pdf.operators

Class SetTextMatrix



  • public class SetTextMatrix
    extends TextPlaceOperator

    Class representig Tm operator (set text matrix).

    • Constructor Detail

      • SetTextMatrix

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

        Initializes operator.

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

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

        Initializes operator.

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

        public SetTextMatrix(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.

        Overrides:
        accept in class TextOperator
        Parameters:
        visitor - Visitor object.
      • toString

        public String toString()

        Returns text representation of operator.

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