SetTextMatrix
Contents
[
Hide
]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
| Constructor | Description |
|---|---|
| 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
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| index | int | Index of operator. |
| command | ICommand | Operator 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:
| Parameter | Type | Description |
|---|---|---|
| a | double | A coefficient |
| b | double | B coefficient |
| c | double | C coefficient |
| d | double | D coefficient |
| e | double | E coefficient |
| f | double | F coefficient |
SetTextMatrix(Matrix m)
public SetTextMatrix(Matrix m)
Initializes operator by matrix.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| m | Matrix | Transfomation 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:
| Parameter | Type | Description |
|---|---|---|
| value | Matrix | Matrix object |
accept(IOperatorSelector visitor)
public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| visitor | IOperatorSelector | Visitor object. |
toString()
public String toString()
Returns text representation of operator.
Returns: java.lang.String - Text representation of operator.