UNPKG

@zsnout/ithkuil

Version:

A set of tools which can generate and parse romanized Ithkuil text and which can generate Ithkuil script from text and JSON data.

19 lines (18 loc) 615 B
/** * Checks if two paths intersect. * * @param a The first path to check. * @param b The second path to check. * @param margin The margin of error allowed. * @returns Whether the paths intersect. */ export declare function doPathsIntersect(a: string, b: string, margin?: number): boolean; /** * Checks if two elements intersect. * * @param a The first element to check. * @param b The second element to check. * @param margin The margin of error allowed. * @returns Whether the elements intersect. */ export declare function doShapesIntersect(a: SVGElement, b: SVGElement, margin?: number): boolean;