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

Function test_highlight

tests/test_annots.py:59–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57
58
59def test_highlight():
60 doc = pymupdf.open()
61 page = doc.new_page()
62 annot = page.add_highlight_annot(rect)
63 assert annot.type == (8, "Highlight")
64
65
66def test_underline():

Callers

nothing calls this directly

Calls 2

new_pageMethod · 0.80
add_highlight_annotMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…