Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 491 Bytes

File metadata and controls

10 lines (8 loc) · 491 Bytes

OffsetBox.get_extent_offsets and OffsetBox.get_extent

... are deprecated; these methods are also deprecated on all subclasses of .OffsetBox.

To get the offsetbox extents, instead of get_extent, use .OffsetBox.get_bbox, which directly returns a .Bbox instance.

To also get the child offsets, instead of get_extent_offsets, separately call ~.OffsetBox.get_offset on each children after triggering a draw.