pdf-lib
Version:
Library for creating and modifying PDF files in JavaScript
13 lines (12 loc) • 414 B
TypeScript
import PDFObject from './PDFObject';
declare class PDFBoolean extends PDFObject {
static fromBool: (bool: boolean) => PDFBoolean;
static fromString: (boolStr: string) => PDFBoolean;
boolean: boolean;
constructor(bool: boolean);
clone: () => PDFBoolean;
toString: () => string;
bytesSize: () => number;
copyBytesInto: (buffer: Uint8Array) => Uint8Array;
}
export default PDFBoolean;