Skip to content

V0.0.4b18 - 2020-02-15

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 15 Feb 19:51
· 85 commits to develop since this release
e2852bd
Merging Shapes and Parameters, everything is now a Definition (#188)

- The `shape` and `parameter` decorators are no more, both are now share a common codebase in the `definition` system
- This does mean a small regression where drawing shapes no longer results in an image, but a mask. Although it feels like a step backward I hope this will lead to greater flexibility in the "second half" of the process of drawing an image 
- There is now an `arlunio.fill` function that can be used to recover the old behavior e.g.
  ```python
  import arlunio as ar
  from arlunio.lib.basic import Circle

  circle = Circle()
  image = ar.fill(circle(1920, 1080), color="ff0000")
  ```
- Parameter and Shape based entry points are no more, import what you need from `arlunio.lib.*` like a sane person
- Renamed the `autoshape` directive to `autodefn` and realigned it to the definition system. 
- Updated the reference section of the docs to expose everything in the standard library 

**VSCode**
- Collapsed all the tox related tasks into one that now allows you to choose the env from a dropdown list