import { type dom } from "https://deno.land/x/evt@v2.5.3/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
Methods
checkEnclosure(element: SVGElement, rect: SVGRect): boolean
checkIntersection(element: SVGElement, rect: SVGRect): boolean
createSVGMatrix(): SVGMatrix
createSVGPoint(): SVGPoint
createSVGRect(): SVGRect
createSVGTransformFromMatrix(matrix: SVGMatrix): SVGTransform
getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration
getElementById(elementId: string): Element
getEnclosureList(rect: SVGRect, referenceElement: SVGElement): NodeListOf<>
| SVGCircleElement
| SVGEllipseElement
| SVGImageElement
| SVGLineElement
| SVGPathElement
| SVGPolygonElement
| SVGPolylineElement
| SVGRectElement
| SVGTextElement
| SVGUseElement
getIntersectionList(rect: SVGRect, referenceElement: SVGElement): NodeListOf<>
| SVGCircleElement
| SVGEllipseElement
| SVGImageElement
| SVGLineElement
| SVGPathElement
| SVGPolygonElement
| SVGPolylineElement
| SVGRectElement
| SVGTextElement
| SVGUseElement
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,