![]() Server : Apache/2 System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64 User : gositeme ( 1004) PHP Version : 8.2.29 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/gositeme/domains/lavocat.quebec/private_html/node_modules/canvg/lib/ |
import { Axis } from './ViewPort';
import Document, { Element } from './Document';
export default class Property<T = any> {
private readonly document;
private readonly name;
private value;
static empty(document: Document): Property<string>;
static readonly textBaselineMapping: {
baseline: string;
'before-edge': string;
'text-before-edge': string;
middle: string;
central: string;
'after-edge': string;
'text-after-edge': string;
ideographic: string;
alphabetic: string;
hanging: string;
mathematical: string;
};
private isNormalizedColor;
constructor(document: Document, name: string, value: T);
split(separator?: string): Property<string>[];
hasValue(zeroIsValue?: boolean): boolean;
isString(regexp?: RegExp): boolean;
isUrlDefinition(): boolean;
isPixels(): boolean;
setValue(value: T): this;
getValue(def?: T): T;
getNumber(def?: T): number;
getString(def?: T): string;
getColor(def?: T): string;
getDpi(): number;
getRem(): number;
getEm(): number;
getUnits(): string;
getPixels(axis?: Axis, processPercent?: boolean): number;
getPixels(isFontSize?: boolean): number;
getMilliseconds(): number;
getRadians(): number;
getDefinition<T extends Element>(): T;
getFillStyleDefinition(element: Element, opacity: Property): string | CanvasPattern | CanvasGradient;
getTextBaseline(): string;
addOpacity(opacity: Property): Property<string>;
}
//# sourceMappingURL=Property.d.ts.map