Skip to content

Add in bounds with strokes: .bbox(with_stroke=True)

Choose a tag to compare

@tatarize tatarize released this 15 Sep 02:44
· 358 commits to master since this release
b23ff60

This version permits the calculation of bounding boxes with the given stroke-width values, for transformed and non-transformed shapes.

  • The goal of this is to provide a bounding box sufficient to capture not only the shape but the full displayed shape.

  • This version also includes some other minor changes to __repr__ for the various objects.