Ipycanvas

Latest version: v0.13.2

Safety actively analyzes 630052 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 6

0.8.0

New features:
------------------

- Add support for color gradients 142
- Add support for patterns 143
- Add `fill_polygon` and `stroke_polygon` methods 151
- Add `stroke_lines` method 152

0.7.0

Improvements:
--------------------

- Reduce messages size 129
- Improve communication speed by using binary buffers only 132
- Implement sleep method 126

0.6.0

Improvements
- Added `ellipse` method for adding an ellipse to the current path
- Added `Path2D` class for drawing SVG paths
- Added `stroke_line` method for directly drawing a line without using a path
- Added `fill_circle` and `stroke_circle`, shorthands for full `fill_arc` and `stroke_arc`
- Added `RoughCanvas` for hand-drawn style

0.5.1

Big fixes
-----------

- Fix mouse events for the MutliCanvas

0.5.0

Improvements

- Refactor sizing logic. The web canvas has two sizes, the colorbuffer size and the display size (actual size on the screen). We used to only expose the colorbuffer size and force the display size to be the same. The user can now control the display size through the `layout` property. 111 113

0.4.7

Improvements

- Ship `.d.ts` files with the JavaScript package 97
- Change `getCoordinates` and `resizeCanvas` from private to protected 98

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.