6.3. Text style properties

These properties are only applicable to texts.

Table 6.3. Text style properties

MenuPropertyDescription

family, size, style

familySelect font family.

http://www.w3.org/TR/SVG/text.html#FontFamilyProperty
sizeDefines font size.

http://www.w3.org/TR/SVG/text.html#FontSizeProperty
styleDefines font style.

http://www.w3.org/TR/SVG/text.html#FontStyleProperty

weight, anchor, decoration

weightDefines font weight.

http://www.w3.org/TR/SVG/text.html#FontWeightProperty
anchorDefines the text anchor.

http://www.w3.org/TR/SVG/text.html#TextAnchorProperty
decorationThis property describes decorations that are added to the text of an element.

http://www.w3.org/TR/SVG/text.html#TextDecorationProperty

Note

Fill and stroke properties are also applicable to text.