• 2022-06-03
    假设画布宽为200像素,高为300像素。要求画出画布的对角线,线的颜色为绿色,线宽为10像素。下面哪几条语句能够完成?
    A: canvas.draw_line((200, 0), (0, 300), 10, "Green")
    B: canvas.draw_line((300, 0), (0, 200), 10, "Green")
    C: canvas.draw_line((0, 0), (200, 300), 10, "Green")
    D: canvas.draw_line((300, 300), (200, 200), 10, "Green")