@prescott/geo-pattern
Version:
Create beautiful generative geometric background images from a string.
12 lines (11 loc) • 372 B
TypeScript
export interface SVGNodeAttribute {
[key: string]: string | number;
}
export declare class SVGNode {
readonly nodeName: string;
readonly attributes: SVGNodeAttribute;
readonly childNode: SVGNode[];
constructor(nodeName: string, attributes: SVGNodeAttribute, childNode?: SVGNode[]);
appendChild(...elements: SVGNode[]): void;
toXML(): string;
}