Matrix
Overview
Matrix is a class in Aspose.PDF FOSS for Python.
Matrix.translate(x, y) shifts a coordinate system, while Matrix.multiply(other) composes two transformations, exposing the underlying a‑f components.
This class declares 2 methods for Matrix objects in Python programs.
Available methods include: multiply, 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/Write | Gets or sets the a. |
b | float | Read/Write | Gets or sets the b. |
c | float | Read/Write | Gets or sets the c. |
d | float | Read/Write | Gets or sets the d. |
e | float | Read/Write | Gets or sets the e. |
f | float | Read/Write | Gets or sets the f. |
Methods
| Signature | Description |
|---|---|
translate(x: float, y: float) | Shifts a coordinate system, while Matrix.multiply(other) composes two transformations, exposing the underlying a‑f components |
multiply(other: Matrix) → Matrix | Calls multiply(other) on this Matrix instance. |