SetTextMatrix

Inheritance: java.lang.Object, com.aspose.pdf.Operator, com.aspose.pdf.operators.TextOperator, com.aspose.pdf.operators.TextPlaceOperator

public class SetTextMatrix extends TextPlaceOperator

Class representig Tm operator (set text matrix).

Constructors

ConstructorDescription
SetTextMatrix(int index, ICommand command)Initializes operator.
SetTextMatrix(double a, double b, double c, double d, double e, double f)Initializes operator.
SetTextMatrix(Matrix m)Initializes operator by matrix.

Methods

MethodDescription
getMatrix()Matrix argument of the operator.
setMatrix(Matrix value)Matrix argument of the operator.
accept(IOperatorSelector visitor)Accepts visitor object to process operator.
toString()Returns text representation of operator.

SetTextMatrix(int index, ICommand command)

public SetTextMatrix(int index, ICommand command)

Initializes operator.

Parameters:

ParameterTypeDescription
indexintIndex of operator.
commandICommandOperator command.

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

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

Initializes operator.

Parameters:

ParameterTypeDescription
adoubleA coefficient
bdoubleB coefficient
cdoubleC coefficient
ddoubleD coefficient
edoubleE coefficient
fdoubleF coefficient

SetTextMatrix(Matrix m)

public SetTextMatrix(Matrix m)

Initializes operator by matrix.

Parameters:

ParameterTypeDescription
mMatrixTransfomation matrix.

getMatrix()

public Matrix getMatrix()

Matrix argument of the operator.

Returns: Matrix - Matrix object

setMatrix(Matrix value)

public void setMatrix(Matrix value)

Matrix argument of the operator.

Parameters:

ParameterTypeDescription
valueMatrixMatrix object

accept(IOperatorSelector visitor)

public void accept(IOperatorSelector visitor)

Accepts visitor object to process operator.

Parameters:

ParameterTypeDescription
visitorIOperatorSelectorVisitor object.

toString()

public String toString()

Returns text representation of operator.

Returns: java.lang.String - Text representation of operator.