import { InteractionEvent, InteractionManager, Point, Rectangle, Renderer } from "pixi.js"; import { DImageBase, DImageBaseOptions, DThemeImageBase } from "./d-image-base"; import { UtilHtmlElement, UtilHtmlElementOperation, UtilHtmlElementOptions, UtilThemeHtmlElement } from "./util/util-html-element"; export interface DHtmlElementOptions = DThemeHtmlElement> extends DImageBaseOptions, UtilHtmlElementOptions { } export interface DThemeHtmlElement extends DThemeImageBase, UtilThemeHtmlElement { } export declare class DHtmlElement = DThemeHtmlElement, OPTIONS extends DHtmlElementOptions = DHtmlElementOptions, UTIL extends UtilHtmlElement = UtilHtmlElement> extends DImageBase { protected _util?: UTIL; protected getUtil(): UTIL; protected newUtil(): UTIL; protected newOperation(): UtilHtmlElementOperation; get element(): ELEMENT | null; protected onDownThis(e: InteractionEvent): void; onDblClick(e: MouseEvent | TouchEvent, interactionManager: InteractionManager): boolean; protected onFocus(): void; protected onBlur(): void; start(): void; render(renderer: Renderer): void; /** * Please note that this method does not update transforms. * * @param resolution */ protected getElementRect(resolution: number, point: Point, result: Rectangle): Rectangle | null; protected getClipperRect(resolution: number, point: Point, result: Rectangle): Rectangle | null; cancel(): void; end(): void; select(): this; protected onActivateKeyDown(e: KeyboardEvent): void; protected onActivateKeyUp(e: KeyboardEvent): void; protected onKeyDown(e: KeyboardEvent): boolean; protected onKeyUp(e: KeyboardEvent): boolean; protected getType(): string; }