Style Svgbob
Svgbob takes geometry from the text and supports renderer-level SVG settings.
Start with the general presentation settings. They control the canvas background, padding, and frame for every diagram.
Source controlsโ
- Change the source spacing to change object placement.
- Use supported characters to select line and corner forms.
- Use renderer options for uniform color and font changes.
Renderer optionsโ
| Option | Values | Purpose |
|---|---|---|
background | CSS color; default is white | Set the SVG background. |
font-family | Font family; default is arial | Set the label font. |
font-size | Integer; default is 14 | Set the label font size. |
fill-color | CSS color; default is black | Set the solid-shape fill. |
scale | Number; default is 1 | Scale the SVG. |
stroke-width | Number; default is 2 | Set the line width. |