circle_segment

visualife.core.shapes.circle_segment(drawing, id_str, x0, y0, r_in, r_out, deg_from, deg_to, **kwargs)

Draws a circular 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_in – radius of the inner circle
  • r_out – radius of the outer circle
  • deg_from – starting angle
  • deg_to – final angle
  • kwargs – sent to the drawing methods
Returns:

None