Icard/angular-clarity-master(work.../node_modules/ngx-image-cropper/lib/interfaces/cropper.settings.d.ts

39 lines
1.3 KiB
TypeScript
Raw Permalink Normal View History

2024-07-16 14:55:36 +00:00
import { CropperOptions, OutputFormat, OutputType } from './cropper-options.interface';
import { ImageTransform } from './image-transform.interface';
import { SimpleChanges } from '@angular/core';
export declare class CropperSettings {
format: OutputFormat;
output: OutputType;
maintainAspectRatio: boolean;
transform: ImageTransform;
aspectRatio: number;
resetCropOnAspectRatioChange: boolean;
resizeToWidth: number;
resizeToHeight: number;
cropperMinWidth: number;
cropperMinHeight: number;
cropperMaxHeight: number;
cropperMaxWidth: number;
cropperStaticWidth: number;
cropperStaticHeight: number;
canvasRotation: number;
initialStepSize: number;
roundCropper: boolean;
onlyScaleDown: boolean;
imageQuality: number;
autoCrop: boolean;
backgroundColor: string | null;
containWithinAspectRatio: boolean;
hideResizeSquares: boolean;
alignImage: 'left' | 'center';
cropperFrameAriaLabel: string;
cropperScaledMinWidth: number;
cropperScaledMinHeight: number;
cropperScaledMaxWidth: number;
cropperScaledMaxHeight: number;
stepSize: number;
setOptions(options: Partial<CropperOptions>): void;
setOptionsFromChanges(changes: SimpleChanges): void;
private validateOptions;
}