Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 260 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 260 Bytes

easysvg

Simple SVG library for Python3

Usage

import easysvg

svg = easysvg.SvgGenerator()
svg.begin(640, 480)

svg.text('This is text', 20, 100)
svg.circle(320, 360, 100, '#ff0000')

svg.end()
svg_string = svg.get_svg()
print(svg_string)