UNPKG

svg-engine

Version:
22 lines (21 loc) 1.08 kB
import { SVGInstance } from "../../browser/instance/SVGInstance.js"; import { Color } from "../mixins/presentation-attributes/color.js"; import { Display } from "../mixins/presentation-attributes/display.js"; import { Fill } from "../mixins/presentation-attributes/fill.js"; import { Opacity } from "../mixins/presentation-attributes/opacity.js"; import { Stroke } from "../mixins/presentation-attributes/stroke.js"; import { VectorEffect } from "../mixins/presentation-attributes/vectorEffect.js"; import { Visibility } from "../mixins/presentation-attributes/visibility.js"; export declare class SVGLineInstance extends SVGInstance { constructor(_parent?: SVGInstance); x1(): string | number | null; x1(x1: string | number): this; y1(): string | number | null; y1(y1: string | number): this; x2(): string | number | null; x2(x2: string | number): this; y2(): string | number | null; y2(y2: string | number): this; } export interface SVGLineInstance extends SVGInstance, Color, Display, Fill, Opacity, Stroke, VectorEffect, Visibility { }