UNPKG

stimulsoft-forms

Version:
34 lines (33 loc) 1.63 kB
import { OnInit } from "@angular/core"; import { StiModelService } from "../../services/model.service"; import { StiLocalizationService } from "../../services/sti-localization.service"; import { StiHelperService } from "../../services/sti-helper.service"; import { StiHorizontalAlignment, StiVerticalAlignment } from "../../system/enums"; import { Subscription } from "rxjs"; import { SignatureService } from "../../services/sti-signature.service"; import * as i0 from "@angular/core"; export declare class StiEmbedImageEditorComponent implements OnInit { model: StiModelService; loc: StiLocalizationService; helper: StiHelperService; signatureService: SignatureService; currentVerticalAlignment: StiVerticalAlignment; currentHorizontalAlignment: StiHorizontalAlignment; useAspectRatio: boolean; useStretch: boolean; loadedImage: any; currentImageNaturalWidth: number; currentImageNaturalHeight: number; updateSignatureSubscription: Subscription; get hasImage(): boolean; get image(): string; clear(): void; getBackgroundSize(container: any): string; getBackgroundPosition(): string; getHorizontalAlignment(): "center" | "start" | "end"; onFileSelected(event: any): void; constructor(model: StiModelService, loc: StiLocalizationService, helper: StiHelperService, signatureService: SignatureService); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<StiEmbedImageEditorComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<StiEmbedImageEditorComponent, "embed-image-editor", never, {}, {}, never, never, false, never>; }