IMatrix
Overview
IMatrix is a class in Aspose.PDF FOSS for Python.
Interface for matrix operations.
This class declares 2 methods for IMatrix objects in Python programs.
Available methods include: __init__, translate.
Public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package.
Properties: a, b, c, d, e, f.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
a | float | Read | Gets the a. |
b | float | Read | Gets the b. |
c | float | Read | Gets the c. |
d | float | Read | Gets the d. |
e | float | Read | Gets the e. |
f | float | Read | Gets the f. |
Methods
| Signature | Description |
|---|---|
__init__(a: float, b: float, c: float, d: float, e: float, f: float) | Initialize a matrix with transformation values. |
translate(x: float, y: float) | Apply translation to the matrix. |