From b09e6916dc0b8ec2d9fb56fe12ea829c090f81fe Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Wed, 20 Apr 2022 21:47:12 -0700 Subject: [PATCH] Remove VMobject.get_highlight --- manimlib/mobject/types/vectorized_mobject.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/manimlib/mobject/types/vectorized_mobject.py b/manimlib/mobject/types/vectorized_mobject.py index bc815fbb..6615f715 100644 --- a/manimlib/mobject/types/vectorized_mobject.py +++ b/manimlib/mobject/types/vectorized_mobject.py @@ -349,22 +349,6 @@ class VMobject(Mobject): def get_joint_type(self) -> str: return self.joint_type - def get_highlight( - self, - stroke_color: Color = WHITE, - added_stroke: float = 3.0, - opacity: float = 0.75, - ) -> VMobject: - highlight = self.copy() - highlight.set_fill(opacity=0) - highlight.set_stroke( - color=stroke_color, - width=self.get_stroke_width() + added_stroke, - opacity=opacity - ) - highlight.add_updater(lambda m: m.move_to(self)) - return highlight - # Points def set_anchors_and_handles( self,