Home Menu

TEXTPATH

The textPath element specifies text along a path defined either by a 'path' element or the path equivalent of a basic shape.

SYNTAX

<textPath attribute-name="attribute-value"></textPath>
NAME VALUE INITIAL DESCRIPTION
href URL (none) URL reference to the 'path' element or basic shape element onto which the glyphs will be rendered
lengthAdjust spacing | spacingAndGlyphs spacing expand or compress glyphs
method align | stretch align method by which text should be rendered along the path
path path data (none) path onto which the typographic characters will be rendered
side left | right left side of the path the text is placed on
spacing auto | exact exact spacing between typographic characters that are to be rendered along a path
startOffset <length-percentage> | <number> 0 offset from the start of the path for the initial current text position
textLength <length-percentage> | <number> (none) length for the text to fit

EXAMPLES

HREF

LENGTHADJUST | SPACING

LENGTHADJUST | SPACINGANDGLYPHS

PATH

SIDE | LEFT

SIDE | RIGHT

STARTOFFSET

TEXTLENGTH

INTERNAL

image

path

text

tspan

EXTERNAL

World Wide Web Consortium (W3C)