diff options
Diffstat (limited to 'svg.js.d.ts')
-rw-r--r-- | svg.js.d.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts index 496f749..7b8956b 100644 --- a/svg.js.d.ts +++ b/svg.js.d.ts @@ -1662,6 +1662,14 @@ declare module "@svgdotjs/svg.js" { plot(d: string): this
track(): Path
}
+
+ // style.js
+ class Style extends Element {
+ constructor(node: SVGElement, attr?: StylingAttr);
+ addText(text: string): this;
+ font(name: string, src: string, params?: any): this;
+ rule(selector: string, obj: any): this;
+ }
// use.js
class Use extends Shape {
|