矩形区域,Rect((left, top), (width, height))。
Rect((left, top), (width, height))
from cpgzero import * box = Rect((20, 20), (100, 100)) pen.rect(box, 'red')
← Pen Actor →