interface SVGTextContentElement
implements SVGGraphicsElement
import { type SVGTextContentElement } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";
Implemented by elements that support rendering child text content. It is inherited by various text-related export 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,