UNPKG

svg-engine

Version:
23 lines (22 loc) 1.37 kB
import { SVGInstance } from "../../../browser/instance/SVGInstance.js"; import { SVGRectInstance } from "../../instances/SVGRectInstance.js"; import { SVGCircleInstance } from "../../instances/SVGCircleInstance.js"; import { SVGLineInstance } from "../../instances/SVGLineInstance.js"; import { SVGPathInstance } from "../../instances/SVGPathInstance.js"; import { SVGTextInstance } from "../../instances/SVGTextInstance.js"; export declare class ShapeInstances extends SVGInstance { addRect(): SVGRectInstance; addRect(x: number | string, y: number | string): SVGRectInstance; addRect(x: number | string, y: number | string, width: number | string, height: number | string): SVGRectInstance; addCircle(): SVGCircleInstance; addCircle(cx: number | string, cy: number | string): SVGCircleInstance; addCircle(cx: number | string, cy: number | string, r: number | string): SVGCircleInstance; addLine(): SVGLineInstance; addLine(x1: number | string, y1: number | string): SVGLineInstance; addLine(x1: number | string, y1: number | string, x2: number | string, y2: number | string): SVGLineInstance; addPath(): SVGPathInstance; addPath(d: string): SVGPathInstance; addText(): SVGTextInstance; addText(text: string): SVGTextInstance; addText(x: number | string, y: number | string, text: string): SVGTextInstance; }