Skip to main content
Version: API v2 Preview

PdfAffineTransform

Kind: class
Module/package: text_editing
SDK: pdfdancer-client-python 2.0.0

Immutable PDF six-number affine transformation [a,b,c,d,e,f].

Declaration

PdfAffineTransform(a: 'float', b: 'float', c: 'float', d: 'float', e: 'float', f: 'float') -> None

Members

__init__

__init__(self, a: 'float', b: 'float', c: 'float', d: 'float', e: 'float', f: 'float') -> None

Initialize self. See help(type(self)) for accurate signature.

builder

builder(cls) -> "'PdfAffineTransformBuilder'"

from_pdf_matrix

from_pdf_matrix(cls, coefficients: 'Sequence[float]') -> "'PdfAffineTransform'"

to_pdf_matrix

to_pdf_matrix(self) -> 'tuple[float, float, float, float, float, float]'

View source at af2a1171a1b9