Have arrows default to flat stroke

This commit is contained in:
Grant Sanderson 2024-08-16 15:10:40 -05:00
parent 0267740bde
commit c20ce8d633

View file

@ -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
)