Highlightable¶
Qualified name: manim\_dsa.utils.utils.Highlightable
- class Highlightable[source]¶
Bases:
objectA mixin class that provides functionality to highlight and unhighlight Manim objects.
Methods
Highlight the object with the specified stroke color and width.
Set the highlight properties.
Remove the highlight from the object.
- highlight(stroke_color=ManimColor('#FC6255'), stroke_width=8)[source]¶
Highlight the object with the specified stroke color and width.
- Parameters:
stroke_color (
ManimColor, optional) – The color of the highlight stroke (default isRED).stroke_width (float, optional) – The width of the highlight stroke (default is
8).
- Returns:
The instance with the highlight applied.
- Return type:
- set_highlight(stroke_color=ManimColor('#FC6255'), stroke_width=8)[source]¶
Set the highlight properties.
- Parameters:
stroke_color (
ManimColor, optional) – The color of the highlight stroke (default isRED).stroke_width (float, optional) – The width of the highlight stroke (default is
8).