import { type dom } from "https://deno.land/x/evt@v2.4.17/lib/index.ts";
const { SVGSVGElement } = dom;
Provides access to the properties of elements, as well as methods to manipulate them. This interface contains also various miscellaneous commonly-used utility methods, such as matrix operations and the ability to control the time of redraw on visual rendering devices.
Properties
readonly
currentTranslate: SVGPointreadonly
height: SVGAnimatedLengthonunload: ((this: SVGSVGElement, ev: Event) => any) | null
onzoom: ((this: SVGSVGElement, ev: SVGZoomEvent) => any) | null
readonly
deprecated
viewport: SVGRectreadonly
width: SVGAnimatedLengthreadonly
x: SVGAnimatedLengthreadonly
y: SVGAnimatedLengthMethods
checkEnclosure(element: SVGElement, rect: SVGRect): boolean
checkIntersection(element: SVGElement, rect: SVGRect): boolean
createSVGAngle(): SVGAngle
createSVGLength(): SVGLength
createSVGMatrix(): SVGMatrix
createSVGNumber(): SVGNumber
createSVGPoint(): SVGPoint
createSVGRect(): SVGRect
createSVGTransform(): SVGTransform
createSVGTransformFromMatrix(matrix: SVGMatrix): SVGTransform
getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration
getElementById(elementId: string): Element
getEnclosureList(rect: SVGRect, referenceElement: SVGElement): NodeListOf<>
getIntersectionList(rect: SVGRect, referenceElement: SVGElement): NodeListOf<>
addEventListener<K extends keyof SVGSVGElementEventMap>(): void
type: K,
listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof SVGSVGElementEventMap>(): void
type: K,
listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,