mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Have arrows default to flat stroke
This commit is contained in:
parent
0267740bde
commit
c20ce8d633
1 changed files with 2 additions and 0 deletions
|
@ -642,6 +642,7 @@ class Arrow(Line):
|
|||
end: Vect3 | Mobject,
|
||||
stroke_color: ManimColor = GREY_A,
|
||||
stroke_width: float = 5,
|
||||
flat_stroke: bool = True,
|
||||
buff: float = 0.25,
|
||||
tip_width_ratio: float = 5,
|
||||
tip_len_to_width: float = 0.0075,
|
||||
|
@ -659,6 +660,7 @@ class Arrow(Line):
|
|||
start, end,
|
||||
stroke_color=stroke_color,
|
||||
stroke_width=stroke_width,
|
||||
flat_stroke=flat_stroke,
|
||||
buff=buff,
|
||||
**kwargs
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue