Tex¶
限定名称: manim.mobject.text.tex\_mobject.Tex
- class Tex(*tex_strings, arg_separator='', tex_environment='center', **kwargs)[来源]¶
基础:
MathTex一个在正常模式下使用LaTeX编译的字符串。
测试
检查写入LaTeX字符串是否有效:
>>> Tex('The horse does not eat cucumber salad.') Tex('The horse does not eat cucumber salad.')
方法
属性
animate用于动画化
self的任何方法的应用。animation_overridescolordepthmobject的深度。
fill_color如果有多种颜色(用于渐变),则返回第一个颜色
font_sizetex mobject 的字体大小。
hash_seed表示生成的mobject点结果的唯一哈希值。
heightmobject的高度。
n_points_per_curvesheen_factorstroke_colorwidthmobject的宽度。
- _original__init__(*tex_strings, arg_separator='', tex_environment='center', **kwargs)¶
初始化自身。有关准确的签名,请参阅 help(type(self))。