Skip to main content
Module

x/commandis/mod.ts>dom.SVGGraphicsElement

Official framework for Corddis lib ( for Deno only )
Latest
interface dom.SVGGraphicsElement
implements SVGElement, SVGTests
import { type dom } from "https://deno.land/x/commandis@v0.6.5/mod.ts";
const { SVGGraphicsElement } = dom;

SVG elements whose primary purpose is to directly render graphics into a group.

Methods

getBBox(options?: SVGBoundingBoxOptions): DOMRect
getCTM(): DOMMatrix | null
getScreenCTM(): DOMMatrix | null
addEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
removeEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void