Allow for multivalued style arguments

This commit is contained in:
Grant Sanderson 2022-12-15 15:40:36 -08:00
parent 4c894077d3
commit da90c5e297

View file

@ -77,10 +77,10 @@ class VMobject(Mobject):
self,
color: ManimColor = None, # If set, this will override stroke_color and fill_color
fill_color: ManimColor = WHITE,
fill_opacity: float | None = 0.0,
fill_opacity: float | Iterable[float] | None = 0.0,
stroke_color: ManimColor = GREY_C,
stroke_opacity: float | None = 1.0,
stroke_width: float | None = DEFAULT_STROKE_WIDTH,
stroke_opacity: float | Iterable[float] | None = 1.0,
stroke_width: float | Iterable[float] | None = DEFAULT_STROKE_WIDTH,
draw_stroke_behind_fill: bool = False,
background_image_file: str | None = None,
long_lines: bool = False,