ShapeMatchers¶
SurroundingRectangle¶
-
class
manimlib.mobject.shape_matchers.
SurroundingRectangle
(mobject, **kwargs)¶ 包围矩形框
buff
: 矩形框与被包含物件的间隙
BackgroundRectangle¶
Cross¶
-
class
manimlib.mobject.shape_matchers.
Cross
(mobject, **kwargs)¶ 叉叉
stroke_width
: 叉叉线宽,默认两端细中间粗
Underline¶
-
class
manimlib.mobject.shape_matchers.
Underline
(mobject, **kwargs)¶ 下划线
传入
start, end
为线段起点终点buff
: 为两端距离start,end
的距离(默认为0)path_arc
: 如果有此关键字参数,则使用ArcBetweemPoints
,path_arc
表示角度