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

NameTypeAccessDescription
afloatRead/WriteGets or sets the a.
bfloatRead/WriteGets or sets the b.
cfloatRead/WriteGets or sets the c.
dfloatRead/WriteGets or sets the d.
efloatRead/WriteGets or sets the e.
ffloatRead/WriteGets or sets the f.

Methods

SignatureDescription
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) → MatrixCalls multiply(other) on this Matrix instance.

See Also

 English