mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Allow style configuration to be None
This commit is contained in:
parent
a3215d0354
commit
588c3fce02
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 = 0.0,
|
||||
fill_opacity: float | None = 0.0,
|
||||
stroke_color: ManimColor = GREY_C,
|
||||
stroke_opacity: float = 1.0,
|
||||
stroke_width: float = DEFAULT_STROKE_WIDTH,
|
||||
stroke_opacity: float | None = 1.0,
|
||||
stroke_width: 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