MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / rect

Method rect

tests/test_pager_code.py:203–206  ·  view source on GitHub ↗

Draw a rectangle outline.

(self, x, y, w, h, color)

Source from the content-addressed store, hash-verified

201 print(f"[MockPager] fill_rect({x}, {y}, {w}, {h}, {color:#06x})")
202
203 def rect(self, x, y, w, h, color):
204 """Draw a rectangle outline."""
205 if VERBOSE:
206 print(f"[MockPager] rect({x}, {y}, {w}, {h}, {color:#06x})")
207
208 def hline(self, x, y, w, color):
209 """Draw horizontal line."""

Callers 1

run_testsFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected