Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.SVGPathElement

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.SVGPathElement
implements SVGGraphicsElement
import { type dom } from "https://deno.land/x/evt@v2.4.10/lib/types/index.ts";
const { SVGPathElement } = dom;

Corresponds to the element.

Properties

readonly
deprecated
pathSegList: SVGPathSegList

Methods

deprecated
createSVGPathSegArcAbs(
x: number,
y: number,
r1: number,
r2: number,
angle: number,
largeArcFlag: boolean,
sweepFlag: boolean,
): SVGPathSegArcAbs
deprecated
createSVGPathSegArcRel(
x: number,
y: number,
r1: number,
r2: number,
angle: number,
largeArcFlag: boolean,
sweepFlag: boolean,
): SVGPathSegArcRel
deprecated
createSVGPathSegClosePath(): SVGPathSegClosePath
deprecated
createSVGPathSegCurvetoCubicAbs(
x: number,
y: number,
x1: number,
y1: number,
x2: number,
y2: number,
): SVGPathSegCurvetoCubicAbs
deprecated
createSVGPathSegCurvetoCubicRel(
x: number,
y: number,
x1: number,
y1: number,
x2: number,
y2: number,
): SVGPathSegCurvetoCubicRel
deprecated
createSVGPathSegCurvetoCubicSmoothAbs(
x: number,
y: number,
x2: number,
y2: number,
): SVGPathSegCurvetoCubicSmoothAbs
deprecated
createSVGPathSegCurvetoCubicSmoothRel(
x: number,
y: number,
x2: number,
y2: number,
): SVGPathSegCurvetoCubicSmoothRel
deprecated
createSVGPathSegCurvetoQuadraticAbs(
x: number,
y: number,
x1: number,
y1: number,
): SVGPathSegCurvetoQuadraticAbs
deprecated
createSVGPathSegCurvetoQuadraticRel(
x: number,
y: number,
x1: number,
y1: number,
): SVGPathSegCurvetoQuadraticRel
deprecated
createSVGPathSegCurvetoQuadraticSmoothAbs(x: number, y: number): SVGPathSegCurvetoQuadraticSmoothAbs
deprecated
createSVGPathSegCurvetoQuadraticSmoothRel(x: number, y: number): SVGPathSegCurvetoQuadraticSmoothRel
deprecated
createSVGPathSegLinetoAbs(x: number, y: number): SVGPathSegLinetoAbs
deprecated
createSVGPathSegLinetoHorizontalAbs(x: number): SVGPathSegLinetoHorizontalAbs
deprecated
createSVGPathSegLinetoHorizontalRel(x: number): SVGPathSegLinetoHorizontalRel
deprecated
createSVGPathSegLinetoRel(x: number, y: number): SVGPathSegLinetoRel
deprecated
createSVGPathSegLinetoVerticalAbs(y: number): SVGPathSegLinetoVerticalAbs
deprecated
createSVGPathSegLinetoVerticalRel(y: number): SVGPathSegLinetoVerticalRel
deprecated
createSVGPathSegMovetoAbs(x: number, y: number): SVGPathSegMovetoAbs
deprecated
createSVGPathSegMovetoRel(x: number, y: number): SVGPathSegMovetoRel
deprecated
getPathSegAtLength(distance: number): number
getPointAtLength(distance: number): SVGPoint
getTotalLength(): number
addEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
removeEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void