Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SVGTextPathElement

Corresponds to the element.

interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference {
readonly method: SVGAnimatedEnumeration;
readonly spacing: SVGAnimatedEnumeration;
readonly startOffset: SVGAnimatedLength;
readonly TEXTPATH_METHODTYPE_ALIGN: number;
readonly TEXTPATH_METHODTYPE_STRETCH: number;
readonly TEXTPATH_METHODTYPE_UNKNOWN: number;
readonly TEXTPATH_SPACINGTYPE_AUTO: number;
readonly TEXTPATH_SPACINGTYPE_EXACT: number;
readonly TEXTPATH_SPACINGTYPE_UNKNOWN: number;
addEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void;
removeEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void;
}
var SVGTextPathElement: {
prototype: SVGTextPathElement;
readonly TEXTPATH_METHODTYPE_ALIGN: number;
readonly TEXTPATH_METHODTYPE_STRETCH: number;
readonly TEXTPATH_METHODTYPE_UNKNOWN: number;
readonly TEXTPATH_SPACINGTYPE_AUTO: number;
readonly TEXTPATH_SPACINGTYPE_EXACT: number;
readonly TEXTPATH_SPACINGTYPE_UNKNOWN: number;
}
;

§Extends

§Properties

§
readonly startOffset: SVGAnimatedLength
[src]
§
readonly TEXTPATH_METHODTYPE_ALIGN: number
[src]
§
readonly TEXTPATH_METHODTYPE_STRETCH: number
[src]
§
readonly TEXTPATH_METHODTYPE_UNKNOWN: number
[src]
§
readonly TEXTPATH_SPACINGTYPE_AUTO: number
[src]
§
readonly TEXTPATH_SPACINGTYPE_EXACT: number
[src]
§
readonly TEXTPATH_SPACINGTYPE_UNKNOWN: number
[src]

§Methods

§
addEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
removeEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
[src]
§
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void
[src]