提交 c634914a 编写于 作者: F feilong

add doodle+fix1

上级 f319cb1c
......@@ -49,8 +49,7 @@ class Painter:
# TODO(You): 请正确实现画板事件响应,完成功能
def clean(self):
cv.rectangle(self.img, (0, 0),
(self.height, self.width), (0, 0, 0), -1)
cv.rectangle(self.img, (0, 0), (self.height, self.width), (0, 0, 0), -1)
def begin_draw_rectangle(self, pos1, pos2):
if self.color is None:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册