1 | import { CropperOptions, OutputFormat, OutputType } from './cropper-options.interface';
|
2 | import { ImageTransform } from './image-transform.interface';
|
3 | import { SimpleChanges } from '@angular/core';
|
4 | export declare class CropperSettings {
|
5 | format: OutputFormat;
|
6 | output: OutputType;
|
7 | maintainAspectRatio: boolean;
|
8 | transform: ImageTransform;
|
9 | aspectRatio: number;
|
10 | resetCropOnAspectRatioChange: boolean;
|
11 | resizeToWidth: number;
|
12 | resizeToHeight: number;
|
13 | cropperMinWidth: number;
|
14 | cropperMinHeight: number;
|
15 | cropperMaxHeight: number;
|
16 | cropperMaxWidth: number;
|
17 | cropperStaticWidth: number;
|
18 | cropperStaticHeight: number;
|
19 | canvasRotation: number;
|
20 | initialStepSize: number;
|
21 | roundCropper: boolean;
|
22 | onlyScaleDown: boolean;
|
23 | imageQuality: number;
|
24 | autoCrop: boolean;
|
25 | backgroundColor: string | null;
|
26 | containWithinAspectRatio: boolean;
|
27 | hideResizeSquares: boolean;
|
28 | alignImage: 'left' | 'center';
|
29 | cropperFrameAriaLabel: string;
|
30 | cropperScaledMinWidth: number;
|
31 | cropperScaledMinHeight: number;
|
32 | cropperScaledMaxWidth: number;
|
33 | cropperScaledMaxHeight: number;
|
34 | stepSize: number;
|
35 | setOptions(options: Partial<CropperOptions>): void;
|
36 | setOptionsFromChanges(changes: SimpleChanges): void;
|
37 | private validateOptions;
|
38 | }
|