Table of Contents

Class SVGTextPathElement

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The SVGTextPathElement interface corresponds to the textPath element.

[Value("SVGTextPathElement")]
public class SVGTextPathElement : SVGTextContentElement, ElementCSSInlineStyle, GlobalEventHandlers, SVGElementInstance, HTMLOrSVGElement, SVGTests, SVGURIReference
Inheritance
SVGTextPathElement
Implements
Inherited Members

Remarks

Constructors

SVGTextPathElement()

public SVGTextPathElement()

Fields

TEXTPATH_METHODTYPE_ALIGN

[Value("TEXTPATH_METHODTYPE_ALIGN")]
public const ushort TEXTPATH_METHODTYPE_ALIGN = 1

Field Value

ushort

TEXTPATH_METHODTYPE_STRETCH

[Value("TEXTPATH_METHODTYPE_STRETCH")]
public const ushort TEXTPATH_METHODTYPE_STRETCH = 2

Field Value

ushort

TEXTPATH_METHODTYPE_UNKNOWN

[Value("TEXTPATH_METHODTYPE_UNKNOWN")]
public const ushort TEXTPATH_METHODTYPE_UNKNOWN = 0

Field Value

ushort

TEXTPATH_SPACINGTYPE_AUTO

[Value("TEXTPATH_SPACINGTYPE_AUTO")]
public const ushort TEXTPATH_SPACINGTYPE_AUTO = 1

Field Value

ushort

TEXTPATH_SPACINGTYPE_EXACT

[Value("TEXTPATH_SPACINGTYPE_EXACT")]
public const ushort TEXTPATH_SPACINGTYPE_EXACT = 2

Field Value

ushort

TEXTPATH_SPACINGTYPE_UNKNOWN

[Value("TEXTPATH_SPACINGTYPE_UNKNOWN")]
public const ushort TEXTPATH_SPACINGTYPE_UNKNOWN = 0

Field Value

ushort

Properties

Method

The method read-only property of the SVGTextPathElement interface reflects the {{SVGAttr("method")}} attribute of the given {{SVGElement("textPath")}} element. It takes one of the TEXTPATH_METHODTYPE_* constants defined on this interface.

[Value("method")]
public SVGAnimatedEnumeration Method { get; }

Property Value

SVGAnimatedEnumeration

An SVGAnimatedEnumeration object.

Remarks

Spacing

The spacing read-only property of the SVGTextPathElement interface reflects the {{SVGAttr("spacing")}} attribute of the given {{SVGElement("textPath")}} element. It takes one of the TEXTPATH_SPACINGTYPE_* constants defined on this interface.

[Value("spacing")]
public SVGAnimatedEnumeration Spacing { get; }

Property Value

SVGAnimatedEnumeration

An SVGAnimatedEnumeration object.

Remarks

StartOffset

The startOffset read-only property of the SVGTextPathElement interface reflects the X component of the {{SVGAttr("startOffset")}} attribute of the given {{SVGElement("textPath")}}, which defines an offset from the start of the path for the initial current text position along the path after converting the path to the <textPath> element's coordinate system.

[Value("startOffset")]
public SVGAnimatedLength StartOffset { get; }

Property Value

SVGAnimatedLength

An SVGAnimatedLength object.

Remarks

-SVG startOffset attribute

See also on MDN