mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Give Numbers a default border width
This commit is contained in:
parent
bb42b66201
commit
ccc84f4ab1
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,7 @@ class DecimalNumber(VMobject):
|
||||||
color: ManimColor = WHITE,
|
color: ManimColor = WHITE,
|
||||||
stroke_width: float = 0,
|
stroke_width: float = 0,
|
||||||
fill_opacity: float = 1.0,
|
fill_opacity: float = 1.0,
|
||||||
|
fill_border_width: float = 0.5,
|
||||||
num_decimal_places: int = 2,
|
num_decimal_places: int = 2,
|
||||||
include_sign: bool = False,
|
include_sign: bool = False,
|
||||||
group_with_commas: bool = True,
|
group_with_commas: bool = True,
|
||||||
|
@ -57,6 +58,7 @@ class DecimalNumber(VMobject):
|
||||||
color=color,
|
color=color,
|
||||||
stroke_width=stroke_width,
|
stroke_width=stroke_width,
|
||||||
fill_opacity=fill_opacity,
|
fill_opacity=fill_opacity,
|
||||||
|
fill_border_width=fill_border_width,
|
||||||
**kwargs
|
**kwargs
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue