survey-pdf
Version:
Renders JSON-driven SurveyJS forms and their responses as PDF documents in the browser or Node.js: fillable interactive PDF forms (AcroForm) or static printouts.
7 lines (6 loc) • 387 B
TypeScript
import { BaseImageUtils, IImageInfo, IImageUtils } from '.';
export declare class ImageUtils extends BaseImageUtils implements IImageUtils {
protected _getImageInfo(url: string): Promise<IImageInfo>;
private getCoverCanvasOptions;
applyImageFit(imageInfo: IImageInfo, imageFit: 'cover' | 'fill' | 'contain', targetWidth: number, targetHeight: number): Promise<IImageInfo>;
}