Home Menu

TEXT

The text element defines a graphics element consisting of text.

SYNTAX

<text attribute-name="attribute-value"></text>
NAME VALUE INITIAL DESCRIPTION
dx [ [ <length-percentage> | <number> ]+ ]# (none) relative x coordinate for the current text position
dy [ [ <length-percentage> | <number> ]+ ]# (none) relative y coordinate for the current text position
lengthAdjust spacing | spacingAndGlyphs spacing expand or compress glyphs
rotate [ <number>+ ]# (none) rotation for the current text position
textLength <length-percentage> | <number> (none) length for the text to fit
x [ [ <length-percentage> | <number> ]+ ]# 0 absolute x coordinate for the current text position
y [ [ <length-percentage> | <number> ]+ ]# 0 absolute y coordinate for the current text position

EXAMPLES

DX

DY

LENGTHADJUST | SPACING

LENGTHADJUST | SPACINGANDGLYPHS

ROTATE

TEXTLENGTH

X

Y

INTERNAL

image

path

textPath

tspan

EXTERNAL

World Wide Web Consortium (W3C)