标记点
合格名称:manim.mobject.geometry.arc.LabeledDot
| Python | |
|---|---|
Bases: Dot
ADot的中心包含一个标签。
参数
- label ( str | SingleStringMathTex | Text | Tex ) – 的标签
Dot。这是MathTex默认渲染的(即,当传递 a 时str),但也 可以传递表示渲染字符串的其他类,例如Text或。Tex - radius ( float | None ) – 的半径
Dot。如果None(默认),则根据 的大小计算半径label。
例子
示例:几个 LabeledDots

方法
属性
animate |
用于对 的任何方法的应用程序进行动画处理self。 |
animation_overrides |
|
color |
|
depth |
对象的深度。 |
fill_color |
如果有多种颜色(对于渐变),则返回第一个颜色 |
height |
mobject 的高度。 |
n_points_per_curve |
|
sheen_factor |
|
stroke_color |
|
width |
mobject 的宽度。 |