Table Of Contents
New in version 1.9.0.
This is highly experimental and subject to change. Don’t use it in production.
Load an SVG as a graphics instruction:
from kivy.graphics.svg import Svg with widget.canvas: svg = Svg("image.svg")
There is no widget that can display Svg directly, you have to make your own for now. Check the examples/svg for more informations.
Svg class. See module for more informations about the usage.
Horizontal anchor position for scaling and rotations. Defaults to 0. The symbolic values ‘left’, ‘center’ and ‘right’ are also accepted.
Vertical anchor position for scaling and rotations. Defaults to 0. The symbolic values ‘bottom’, ‘center’ and ‘top’ are also accepted.
Filename to load.
The parsing and rendering is done as soon as you set the filename.