How to change thickness of Line() #2901
Answered
by
behackl
Gedicht2von101
asked this question in
Q&A
-
I need to get thinner lines than i get with this code:
Bulgarian.mp4 |
Beta Was this translation helpful? Give feedback.
Answered by
behackl
Jul 26, 2022
Replies: 1 comment 1 reply
-
The width of the stroke is controlled via the If you want to set it consistently for all |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Gedicht2von101
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The width of the stroke is controlled via the
stroke_width
keyword argument. The default stroke width value is 4, so anything below that will result in thinner lines; e.g.Line(A, B, stroke_width=2)
.If you want to set it consistently for all
Line
objects, runLine.set_default(stroke_width=2)
, for example. Hope this helps!