pdf-lib
Version:
Library for creating and modifying PDF files in JavaScript
21 lines (20 loc) • 703 B
TypeScript
import PDFOperator from '../../../pdf-operators/PDFOperator';
/**
* Modify the current transformation matrix (CTM) by concatenating the specified
* matrix. Although the operands specify a matrix, they shall be written as six
* separate numbers, not as an array.
*/
declare class cm extends PDFOperator {
static of: (a: number, b: number, c: number, d: number, e: number, f: number) => cm;
a: number;
b: number;
c: number;
d: number;
e: number;
f: number;
constructor(a: number, b: number, c: number, d: number, e: number, f: number);
toString: () => string;
bytesSize: () => number;
copyBytesInto: (buffer: Uint8Array) => Uint8Array;
}
export default cm;