@@ -486,13 +486,12 @@ def transformed(self, transform):
486
486
487
487
def contains_point (self , point , transform = None , radius = 0.0 ):
488
488
"""
489
- Returns *True* if the path contains the given point.
489
+ Returns whether the (closed) path contains the given point.
490
490
491
- If *transform* is not * None* , the path will be transformed
492
- before performing the test.
491
+ If *transform* is not `` None`` , the path will be transformed before
492
+ performing the test.
493
493
494
- *radius* allows the path to be made slightly larger or
495
- smaller.
494
+ *radius* allows the path to be made slightly larger or smaller.
496
495
"""
497
496
if transform is not None :
498
497
transform = transform .frozen ()
@@ -502,14 +501,13 @@ def contains_point(self, point, transform=None, radius=0.0):
502
501
503
502
def contains_points (self , points , transform = None , radius = 0.0 ):
504
503
"""
505
- Returns a bool array which is * True* if the path contains the
506
- corresponding point.
504
+ Returns a bool array which is `` True`` if the (closed) path contains
505
+ the corresponding point.
507
506
508
- If *transform* is not * None* , the path will be transformed
509
- before performing the test.
507
+ If *transform* is not `` None`` , the path will be transformed before
508
+ performing the test.
510
509
511
- *radius* allows the path to be made slightly larger or
512
- smaller.
510
+ *radius* allows the path to be made slightly larger or smaller.
513
511
"""
514
512
if transform is not None :
515
513
transform = transform .frozen ()
@@ -518,10 +516,10 @@ def contains_points(self, points, transform=None, radius=0.0):
518
516
519
517
def contains_path (self , path , transform = None ):
520
518
"""
521
- Returns *True* if this path completely contains the given path.
519
+ Returns whether this (closed) path completely contains the given path.
522
520
523
- If *transform* is not * None* , the path will be transformed
524
- before performing the test.
521
+ If *transform* is not `` None`` , the path will be transformed before
522
+ performing the test.
525
523
"""
526
524
if transform is not None :
527
525
transform = transform .frozen ()
0 commit comments