DRAWSVG user's manual
PreviousNextContentsPDF

7.3. Text style properties

These properties are only applicable to texts.

See draw simple text, multiline text, text editor showcases for interactive demonstrations.

Table 7.3. Text style properties

MenuPropertyDescription

family, size, style

weight, anchor, decoration

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
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.