generativepy.geometry module

Martin McBride, 2020-08-01
Tags geometry
Categories generativepy generative art

The geometry module provides classes for drawing shapes.

The module consist of a base Shape class, plus separate classes for drawing shapes such as rectangles, polygons etc. Since there are quite a lot of shape classes, they are documented separately in the shapes section.

The shape classes are intended to supplement the normal Pycairo drawing methods, so make common shapes a bit less cumbersome. You can always mix and match native Pycairo calls with shape calls, which is useful for drawing complex shapes or using special fills such as gradients or patterns.

Copyright (c) Axlesoft Ltd 2020