text: An element used to create text

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

Description

The text element defines a graphics element consisting of text. Note that it is possible to apply a gradient, pattern, clipping path, mask or filter to text

Available Attributes (Named Parameters)

Animation Event Attributes

onload

Complementary Attributes

dxy, xy

Conditional Processing Attributes

requiredExtensions, requiredFeatures, systemLanguage

Core Attributes

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

Filter Primitive Attributes

x, y

Graphical Event Attributes

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

Presentation Attributes

clip.path, clip.rule, color, color.interpolation, color.rendering, cursor, direction, display, display, dominant.baseline, fill, fill.opacity, fill.rule, filter, font.family, font.size, font.size.adjust, font.stretch, font.style, font.variant, font.weight, glyph.orientation.horizontal, glyph.orientation.vertical, kerning, letter.spacing, mask, opacity, pointer.events, stroke, stroke.dasharray, stroke.dashoffset, stroke.linecap, stroke.linejoin, stroke.miterlimit, stroke.opacity, stroke.width, text.anchor, text.decoration, text.rendering, unicode.bidi, visibility, visibility, word.spacing, writing.mode

Unclassified

class, dx, dy, externalResourcesRequired, lengthAdjust, rotate, style, textLength, transform

Available Content Elements (Unnamed Parameters)

Animation Elements

animate, animateColor, animateMotion, animateTransform, set

Descriptive Elements

desc, metadata, title

Non-structural Container Elements

a

Text Content Elements

altGlyph, textPath, tref, tspan


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