textPath: An element used to place text along a given path

Description Available Attributes (Named Parameters) Available Content Elements (Unnamed Parameters)

Description

In addition to text drawn in a straight line, SVG also includes the ability to place text along the shape of a <path> element. To specify that a block of text is to be rendered along the shape of a <path>, include the given text within a textPath element which includes an xlink:href attribute with a reference to a <path> element.

Available Attributes (Named Parameters)

Animation Event Attributes

onload

Conditional Processing Attributes

requiredExtensions, requiredFeatures, systemLanguage

Core Attributes

id, xml.base, xml.lang, xml.space

Graphical Event Attributes

onactivate, onclick, onfocusin, onfocusout, onload, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup

Presentation Attributes

alignment.baseline, baseline.shift, color, direction, display, dominant.baseline, fill, fill.opacity, fill.rule, font.family, font.size, font.size.adjust, font.stretch, font.style, font.variant, font.weight, glyph.orientation.horizontal, glyph.orientation.vertical, kerning, letter.spacing, stroke, stroke.dasharray, stroke.dashoffset, stroke.linecap, stroke.linejoin, stroke.miterlimit, stroke.opacity, stroke.width, text.anchor, text.decoration, unicode.bidi, visibility, word.spacing

Unclassified

class, externalResourcesRequired, lengthAdjust, method, spacing, startOffset, style, textLength

Xlink Attributes

xlink.arcrole, xlink.href, xlink.role, xlink.title, xlink.type

Available Content Elements (Unnamed Parameters)

Animation Elements

animate, animateColor, set

Descriptive Elements

desc, metadata, title

Non-structural Container Elements

a

Text Content Elements

altGlyph, tref, tspan


mslegrand/svgR documentation built on Jan. 21, 2020, 2:59 p.m.