summaryrefslogtreecommitdiffstats
path: root/svg.js.d.ts
diff options
context:
space:
mode:
authordotnetCarpenter <jon.ronnenberg@gmail.com>2017-03-10 20:44:23 +0100
committerdotnetCarpenter <jon.ronnenberg@gmail.com>2017-03-10 20:44:23 +0100
commit34f5adcc93707d595d790ce51f2cb77a9ff861d8 (patch)
tree426397f3149411921e7d7cf49ea995b4897482cb /svg.js.d.ts
parent1b8d97b266621d3af5de67b5162927d2e706cd34 (diff)
downloadsvg.js-34f5adcc93707d595d790ce51f2cb77a9ff861d8.tar.gz
svg.js-34f5adcc93707d595d790ce51f2cb77a9ff861d8.zip
added rotate, skew, scale and translate to typings documentation as written in our documentation (http://svgjs.com/manipulating/transforms/)
Diffstat (limited to 'svg.js.d.ts')
-rw-r--r--svg.js.d.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts
index 5b3fe6a..0870ab2 100644
--- a/svg.js.d.ts
+++ b/svg.js.d.ts
@@ -949,7 +949,11 @@ declare namespace svgjs {
to(value: number): Animation;
after(cb: () => void): Animation;
- rotate(degrees: number, cx: number, cy: number): Animation
+ rotate(degrees: number, cx?: number, cy?: number): Animation
+ skew(x: number, y: number): Animation
+ scale(x: number, y: number): Animation
+ translate(x: number, y: number): Animation
+
// TODO style, etc, bbox...
}
-} \ No newline at end of file
+}