| Server IP : 54.37.205.81 / Your IP : 216.73.216.76 Web Server : nginx/1.22.1 System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64 User : debian ( 1000) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/app.copyrightchain.it/copyrightchain_app/node_modules/canvg/lib/Document/ |
Upload File : |
import { RenderingContext2D } from '../types';
import Property from '../Property';
import Document from './Document';
export default abstract class Element {
protected readonly document: Document;
protected readonly node: HTMLElement;
protected readonly captureTextNodes: boolean;
static readonly ignoreChildTypes: string[];
readonly type: string;
readonly attributes: Record<string, Property<any>>;
readonly styles: Record<string, Property<any>>;
readonly stylesSpecificity: Record<string, string>;
animationFrozen: boolean;
animationFrozenValue: string;
parent: Element;
children: Element[];
constructor(document: Document, node: HTMLElement, captureTextNodes?: boolean);
getAttribute(name: string, createIfNotExists?: boolean): Property<any>;
getHrefAttribute(): Property<any>;
getStyle(name: string, createIfNotExists?: boolean, skipAncestors?: boolean): Property;
render(ctx: RenderingContext2D): void;
setContext(_: RenderingContext2D): void;
protected applyEffects(ctx: RenderingContext2D): void;
clearContext(_: RenderingContext2D): void;
renderChildren(ctx: RenderingContext2D): void;
protected addChild(childNode: Element | HTMLElement): void;
protected matchesSelector(selector: string): boolean;
addStylesFromStyleDefinition(): void;
protected removeStyles(element: Element, ignoreStyles: string[]): [string, string][];
protected restoreStyles(element: Element, styles: [string, string][]): void;
isFirstChild(): boolean;
}
//# sourceMappingURL=Element.d.ts.map