import { type SVGSVGElement } from "https://deno.land/x/yxz@0.32.0/typing/lib.dom.ts";
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: DOMPointReadOnlyreadonly
height: SVGAnimatedLengthreadonly
width: SVGAnimatedLengthreadonly
x: SVGAnimatedLengthreadonly
y: SVGAnimatedLengthMethods
checkEnclosure(element: SVGElement, rect: DOMRectReadOnly): boolean
checkIntersection(element: SVGElement, rect: DOMRectReadOnly): boolean
createSVGAngle(): SVGAngle
createSVGLength(): SVGLength
createSVGMatrix(): DOMMatrix
createSVGNumber(): SVGNumber
createSVGPoint(): DOMPoint
createSVGRect(): DOMRect
createSVGTransform(): SVGTransform
createSVGTransformFromMatrix(matrix?: DOMMatrix2DInit): SVGTransform
getElementById(elementId: string): Element
getEnclosureList(rect: DOMRectReadOnly, referenceElement: SVGElement | null): NodeListOf<>
getIntersectionList(rect: DOMRectReadOnly, referenceElement: SVGElement | null): 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,