MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / new_shape

Method new_shape

src/__init__.py:12796–12797  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

12794 return Point(self.mediabox.x1, self.mediabox.y1)
12795
12796 def new_shape(self):
12797 return Shape(self)
12798
12799 #@property
12800 #def parent( self):

Callers 15

apply_redactionsMethod · 0.80
draw_bezierMethod · 0.80
draw_circleMethod · 0.80
draw_curveMethod · 0.80
draw_lineMethod · 0.80
draw_ovalMethod · 0.80
draw_polylineMethod · 0.80
draw_quadMethod · 0.80
draw_rectMethod · 0.80
draw_sectorMethod · 0.80
draw_squiggleMethod · 0.80
draw_zigzagMethod · 0.80

Calls 1

ShapeClass · 0.70

Tested by 2

test_drawings3Function · 0.64
test_3140Function · 0.64