arc

visualife.core.shapes.arc(drawing, id_str, x0, y0, r, deg_from, deg_to, **kwargs)

Draws a circular arc sector

Parameters:
  • drawing – viewport for drawing
  • id_str – (string) unique ID string for the SVG object
  • x0 – X of the circle center
  • y0 – y of the circle center
  • r – radius of the circle
  • deg_from – starting angle
  • deg_to – final angle
  • kwargs – sent to the drawing methods
Returns:

None