capacitor-plugin-scanbot-sdk
Version:
Scanbot Document and Barcode Scanner SDK for Capacitor
25 lines (23 loc) • 833 B
TypeScript
import type { ImageRotation } from '../core/image/ImageTypes';
import { ParametricFilter } from '../core/image_processing/ParametricFilters';
import type { DeepPartial, Point } from '../core/utils/utils';
/**
Options for modifying a page within a document.
*/
export declare class ModifyPageOptions {
/**
The type of rotation to apply.
Default is NONE
*/
rotation: ImageRotation;
/**
The polygon to which the page will be cropped. If not specified, no cropping is applied.
*/
polygon: Point[] | null;
/**
The list of filters applied to the page. If not specified, no filters are applied.
*/
filters: ParametricFilter[] | null;
/** @param source {@displayType `DeepPartial<ModifyPageOptions>`} */
constructor(source?: DeepPartial<ModifyPageOptions>);
}