mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Allow for multivalued style arguments
This commit is contained in:
parent
4c894077d3
commit
da90c5e297
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue