ConcatenateMatrix
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.Operator
public class ConcatenateMatrix extends Operator
Class representing cm operator (concatenate matrix to current transformation matrix).
Constructors
| Constructor | Description |
|---|---|
| ConcatenateMatrix(int index, ICommand command) | Constructor for operator class. |
| ConcatenateMatrix(double a, double b, double c, double d, double e, double f) | Constructor for operator class. |
| ConcatenateMatrix(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. |
| fromCommand(ICommand command) | |
| toCommand() |
ConcatenateMatrix(int index, ICommand command)
public ConcatenateMatrix(int index, ICommand command)
Constructor for operator class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | int | Index of operator. |
| command | ICommand | Operator command. |
ConcatenateMatrix(double a, double b, double c, double d, double e, double f)
public ConcatenateMatrix(double a, double b, double c, double d, double e, double f)
Constructor for operator class.
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 |
ConcatenateMatrix(Matrix m)
public ConcatenateMatrix(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 representation
fromCommand(ICommand command)
public void fromCommand(ICommand command)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| command | ICommand |
toCommand()
public ICommand toCommand()
Returns: ICommand