Create non-closed polyline #3225
Answered
by
JorjMcKie
Andreasox
asked this question in
Looking for help
-
draw_polyline adds automatically a last point equal to the start point thereby creating a closed polyline. |
Beta Was this translation helpful? Give feedback.
Answered by
JorjMcKie
Mar 4, 2024
Replies: 1 comment 3 replies
-
I don't think so: rect=fitz.Rect(100,100,200,200)
page.draw_polyline((rect.tl,rect.tr,rect.br))
Point(200.0, 200.0)
doc.save("x.pdf") |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Something in between must use "closePath=True".
Default for the finish method is
closePath=True
!