下划线¶
完全限定名: manim.mobject.geometry.shape\_matchers.Underline
- 类 Underline(mobject, buff=0.1, **kwargs)[source]¶
基类:
Line创建一个下划线。
示例
示例: UnderLine ¶
from manim import * class UnderLine(Scene): def construct(self): man = Tex("Manim") # Full Word ul = Underline(man) # Underlining the word self.add(man, ul)
class UnderLine(Scene): def construct(self): man = Tex("Manim") # Full Word ul = Underline(man) # Underlining the word self.add(man, ul)方法
属性
animate (动画)用于动画化
self的任何方法的应用。animation_overrides (动画覆盖)颜色depth (深度)mobject 的深度。
fill_color (填充颜色)如果存在多种颜色(用于渐变),则返回第一种颜色
height (高度)mobject 的高度。
n_points_per_curve (每条曲线的点数)sheen_factor (光泽因子)stroke_color (描边颜色)width (宽度)mobject 的宽度。
- 参数:
mobject (Mobject)
buff (浮点数)
kwargs (任意类型)