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
Menu | Property | Description | ||
---|---|---|---|---|
family, size, style
weight, anchor, decoration | family | Select font family. http://www.w3.org/TR/SVG/text.html#FontFamilyProperty | ||
size | Defines font size. http://www.w3.org/TR/SVG/text.html#FontSizeProperty | |||
style | Defines font style. http://www.w3.org/TR/SVG/text.html#FontStyleProperty | |||
weight | Defines font weight. http://www.w3.org/TR/SVG/text.html#FontWeightProperty | |||
anchor | Defines the text anchor. http://www.w3.org/TR/SVG/text.html#TextAnchorProperty | |||
decoration | This property describes decorations that are added to the text of an element. http://www.w3.org/TR/SVG/text.html#TextDecorationProperty |
Fill and stroke properties are also applicable to text.