@yunser/ui-std
Version:
UI standard specification.
24 lines (23 loc) • 607 B
TypeScript
/**
* Returns a gradient angle by a given position properties
* 参数都是 x%
* @param {String} x1 - The gradient x1 position
* @param {String} x2 - The gradient x2 position
* @param {String} y1 - The gradient y1 position
* @param {String} y2 - The gradient y2 position
* @returns {Number}
*/
declare const getGradientAngle: ({ x1, x2, y1, y2 }: {
x1: any;
x2: any;
y1: any;
y2: any;
}) => any;
export default getGradientAngle;
export declare function parseSvg(content: string): {
_type: string;
width: number;
height: number;
color: null;
_children: any[];
};