]> source.dussan.org Git - svg.js.git/commitdiff
Optional parameter for 'rbox' method
authorpycraft114 <pycraft114@gmail.com>
Wed, 9 May 2018 11:11:29 +0000 (20:11 +0900)
committerpycraft114 <pycraft114@gmail.com>
Wed, 9 May 2018 11:11:29 +0000 (20:11 +0900)
svg.js.d.ts

index d624e88ffda0d58ad865e1e6ff7b754df6ea566f..cd46c0f2fd931744cbe8c58c76639ef8e0c7fec2 100644 (file)
@@ -105,7 +105,7 @@ declare namespace svgjs {
     }\r
     interface Element {\r
         bbox(): BBox;\r
-        rbox(): RBox;\r
+        rbox(container?: Container): RBox;\r
         tbox(): TBox;\r
     }\r
     interface Library {\r