ShapeMatchers¶
SurroundingRectangle¶
-
class
manimlib.mobject.shape_matchers.
SurroundingRectangle
(mobject, **kwargs)¶ 环绕矩形
传入
mobject
为环绕的物体
BackgroundRectangle¶
-
class
manimlib.mobject.shape_matchers.
BackgroundRectangle
(mobject, **kwargs)¶ 背景矩形
传入
mobject
为需要添加背景的物体-
pointwise_become_partial
(mobject, a, b)¶ 把vmobject的[a,b]部分作为自己的全部(ab为0~1之间的数)
-
set_style_data
(stroke_color=None, stroke_width=None, fill_color=None, fill_opacity=None, family=True)¶ 除了不透明度,其余不可以更改(初始化时除外)
-