Skip to content

Ellipse, arc, rotated rectangle, text alignmetn and new examples

Compare
Choose a tag to compare
@ShashkovS ShashkovS released this 22 Dec 21:27
· 20 commits to master since this release

New features:

  • Rotated rectangles:
filled_rect_rotated('red', (350, 350), 50, 100, 135)
rect_rotated('green', (350, 350), 50, 100, 45)
  • Ellipse and arc
ellipse('grey', (100, 650), 200, 100)
arc('grey', (300, 650), 200, 100, start_angle=45, stop_angle=270)
arc('red', (350, 650), 100, 100, start_angle=45, stop_angle=270)
  • Text alignment
text(C.magenta, 'text', (200, 900), 48, '>v')
text(C.red, '×', (200, 900), 72, '..')
text(C.magenta, 'align', (200, 900), 48, '<^')