diff options
Diffstat (limited to 'Lib/fontTools/pens/boundsPen.py')
-rw-r--r-- | Lib/fontTools/pens/boundsPen.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Lib/fontTools/pens/boundsPen.py b/Lib/fontTools/pens/boundsPen.py index 810715ca..227c22f5 100644 --- a/Lib/fontTools/pens/boundsPen.py +++ b/Lib/fontTools/pens/boundsPen.py @@ -14,10 +14,11 @@ class ControlBoundsPen(BasePen): on their extremes. When the shape has been drawn, the bounds are available as the - 'bounds' attribute of the pen object. It's a 4-tuple: + ``bounds`` attribute of the pen object. It's a 4-tuple:: + (xMin, yMin, xMax, yMax). - If 'ignoreSinglePoints' is True, single points are ignored. + If ``ignoreSinglePoints`` is True, single points are ignored. """ def __init__(self, glyphSet, ignoreSinglePoints=False): @@ -73,7 +74,8 @@ class BoundsPen(ControlBoundsPen): than the "control bounds". When the shape has been drawn, the bounds are available as the - 'bounds' attribute of the pen object. It's a 4-tuple: + ``bounds`` attribute of the pen object. It's a 4-tuple:: + (xMin, yMin, xMax, yMax) """ |