add definition for d3.transform

This commit is contained in:
Ashwin Ramaswamy
2013-08-17 16:36:44 -04:00
parent 5b6f9e9f78
commit ef53454ef4
Vendored
+6
View File
@@ -184,6 +184,12 @@ declare module D3 {
*/
zip(...arrs: any[]): any[];
/**
* Parse the given 2D affine transform string, as defined by SVG's transform attribute.
*
* @param definition 2D affine transform string
*/
transform(definition: string): any[];
/**
* Transpose an array of arrays.
*
* @param matrix Two dimensional array to transpose