1 | import type { IElement } from '../../dom';
|
2 | import type { DisplayObject } from '../../display-objects';
|
3 | import type { CSSStyleValue } from '../cssom';
|
4 | import { CSSUnitValue } from '../cssom';
|
5 | import type { CSSValueParser } from './types';
|
6 | export declare function parseDimension(unitRegExp: RegExp, string: string): CSSStyleValue | undefined;
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | export declare const parseLength: CSSValueParser;
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | export declare const parserPercentage: (css: string) => CSSUnitValue;
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 | export declare const parseLengthOrPercentage: (css: string) => CSSUnitValue;
|
25 | export declare const parseAngle: (css: string) => CSSUnitValue;
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 | export declare function mergeDimensions(left: CSSUnitValue, right: CSSUnitValue, target: IElement, nonNegative?: boolean, index?: number): [number, number, (value: number) => string];
|
34 | export declare function convertAngleUnit(value: CSSUnitValue): number;
|
35 | export declare function parseDimensionArray(string: string | (string | number)[]): CSSUnitValue[];
|
36 | export declare function mergeDimensionList(left: CSSUnitValue[], right: CSSUnitValue[], target: IElement | null): [number[], number[], (list: number[]) => string] | undefined;
|
37 | export declare function convertPercentUnit(valueWithUnit: CSSUnitValue, vec3Index: number, target: DisplayObject): number;
|