interface dom.SVGTextContentElement
implements SVGGraphicsElement
import { type dom } from "https://deno.land/x/evt@v2.4.10/lib/types/index.ts";
const { SVGTextContentElement } = dom;
Implemented by elements that support rendering child text content. It is inherited by various text-related interfaces, such as SVGTextElement, SVGTSpanElement, SVGTRefElement, SVGAltGlyphElement and SVGTextPathElement.
Properties
readonly
lengthAdjust: SVGAnimatedEnumerationreadonly
textLength: SVGAnimatedLengthMethods
getCharNumAtPosition(point?: DOMPointInit): number
getEndPositionOfChar(charnum: number): DOMPoint
getExtentOfChar(charnum: number): DOMRect
getStartPositionOfChar(charnum: number): DOMPoint
addEventListener<K extends keyof SVGElementEventMap>(): void
type: K,
listener: (this: SVGTextContentElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof SVGElementEventMap>(): void
type: K,
listener: (this: SVGTextContentElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,