UNPKG

@adobe/pdfservices-node-sdk

Version:

The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.

49 lines (48 loc) 1.47 kB
/** * Parameters specifying options related to seal field location coordinates required for {@link FieldOptions}. */ export declare class FieldLocation { private readonly _left; private readonly _top; private readonly _right; private readonly _bottom; /** * Constructs a `FieldLocation` instance. * * @param params - The parameters for constructing an instance of `FieldLocation`. * @param params.left the left coordinate of field location * @param params.top the top coordinate of field location * @param params.right the right coordinate of field location * @param params.bottom the bottom coordinate of field location */ constructor(params: { left: number; top: number; right: number; bottom: number; }); /** * Returns the left coordinate in default user space units for seal field. * * @returns left coordinate value */ get left(): number; /** * Returns the top coordinate in default user space units for seal field. * * @returns top coordinate value */ get top(): number; /** * Returns the right coordinate in default user space units for seal field. * * @returns right coordinate value */ get right(): number; /** * Returns the bottom coordinate in default user space units for seal field. * * @returns bottom coordinate value */ get bottom(): number; }