📅  最后修改于: 2022-03-11 14:45:03.831000             🧑  作者: Mango
from reportlab.pdfgen.canvas import Canvas
from reportlab.pdfbase import pdfmetrics
canvas = Canvas("test.pdf")
canvas.line(50, 380, 560, 380)