Mark¶
- class manim_eng._base.mark.Mark(anchor: Anchor, centre_reference: Anchor)¶
Bases:
VMobjectA mark object, representing any textual annotation on a component.
- Parameters:
See also
anchor.AnchorAttributes
Mark.animateUsed to animate the application of any method of
self.Mark.animation_overridesMark.colorMark.depthThe depth of the mobject.
Mark.fill_colorIf there are multiple colors (for gradient) this returns the first one
Mark.heightThe height of the mobject.
Mark.n_points_per_curveMark.sheen_factorMark.stroke_colorMark.tex_stringsMark.widthThe width of the mobject.
- change_anchors(anchor: Anchor, centre_reference: Anchor) None¶
Change the anchors to which the mark is attached.
- set_text(*args: Any, font_size: float = 36.0, **kwargs: Any) Self¶
Set the text of the mark.
- Parameters:
*args (Any) – Positional arguments to be pass on to
manim.MathTex. The most important of these is*tex_strings, i.e. the actual TeX math mode strings to use as the mark’s text.font_size (float) – The font size to use for the mark. Leaving it empty adopts the default (recommended).
**kwargs (Any) – Keyword arguments to pass on to
manim.MathTex.