OldTex¶
Qualified name: algan.mobs.text.OldTex
- class OldTex(text, font_size=48, latex=True, debug=False, **kwargs)[source]¶
Bases:
Mob
Mob for displaying tex.
- Parameters:
text (str) – String containing the text to display.
font_size (float) – Font size of the text.
**kwargs – Passed to
Mob
.
Methods
create_character_mobs
default_color
get_boundary_points_test
highlight
highlight_off
on_create
on_destroy
set_color
set_fill_width
set_size
set_text
Attributes
animation_manager
basis
The flattened 3x3 matrix representing the Mob's orientation and scale.
color
glow
location
The 3-D location of the Mob in world space.
max_opacity
normalized_basis
The Mob's basis matrix with all its row vectors normalized to unit length.
opacity
scale_coefficient
The scaling factor of the Mob along its local axes, derived from the basis.