Repository: ManimCommunity/manim
File: manim/mobject/geometry.py (Python)

Code before:
                line2 = Line( DOWN + (1/3) * RIGHT, UP + (1/3) * LEFT )
                angles = [
                    Angle(line1, line2),
                    Angle(line1, line2, radius=0.4, quadrant=(1,-1), other_angle=True),
                    Angle(line1, line2, radius=0.5, quadrant=(-1,1), stroke_width=8, other_angle=True),
                    Angle(line1, line2, radius=0.7, quadrant=(-1,-1), color=RED),
                    Angle(line1, line2, other_angle=True),
                    Angle(line1, line2, radius=0.4, quadrant=(1,-1)),
                    Angle(line1, line2, radius=0.5, quadrant=(-1,1), stroke_width=8),
                    Angle(line1, line2, radius=0.7, quadrant=(-1,-1), color=RED, other_angle=True),
                ]
                line_list = VGroup( *[VGroup() for k in range(8)] )
                for k in range(8):
                    linea = line1.copy()
                    lineb = line2.copy()
                    line_list[k].add( linea )
                    line_list[k].add( lineb )
                    line_list[k].add( angles[k] )
                line_list.arrange_in_grid(n_rows=2, n_cols=4, buff=1.5)
                self.add(
                    line_list
                )
    .. manim:: FilledAngle
        :save_last_frame:

        class Fill(Scene):
            def construct(self):
                l1 = Line(ORIGIN, 2*UP+RIGHT).set_color(GREEN)
                l2 = Line(ORIGIN, 2*UP+RIGHT).set_color(GREEN).rotate(-20*DEGREES, about_point=ORIGIN)
                norm=np.linalg.norm(l1.get_start() - l1.get_end())
                a1=Angle(l1,l2, other_angle=True, radius= norm-0.5).set_color(GREEN)
                a2=Angle(l1,l2, other_angle=True, radius= norm).set_color(GREEN)
                q1=a1.get_points()
                q2= a2.reverse_direction().get_points()
                pnts= np.concatenate([q1,q2, q1[0].reshape(1,3)])
                mfill = VMobject().set_color(ORANGE)
                mfill.set_points_as_corners([q for q in pnts]).set_fill(GREEN, opacity=1)
                self.add(l1,l2)
                self.add(mfill)

    """

    def __init__(
        self,
        line1,
        line2,
        radius=None,
        quadrant=(1, 1),
        other_angle=False,
        dot=False,
        dot_radius=None,

Review comment (suggestion):
```suggestion
        class FilledAngle(Scene):
```

Code after:
                line2 = Line( DOWN + (1/3) * RIGHT, UP + (1/3) * LEFT )
                angles = [
                    Angle(line1, line2),
                    Angle(line1, line2, radius=0.4, quadrant=(1,-1), other_angle=True),
                    Angle(line1, line2, radius=0.5, quadrant=(-1,1), stroke_width=8, other_angle=True),
                    Angle(line1, line2, radius=0.7, quadrant=(-1,-1), color=RED),
                    Angle(line1, line2, other_angle=True),
                    Angle(line1, line2, radius=0.4, quadrant=(1,-1)),
                    Angle(line1, line2, radius=0.5, quadrant=(-1,1), stroke_width=8),
                    Angle(line1, line2, radius=0.7, quadrant=(-1,-1), color=RED, other_angle=True),
                ]
                line_list = VGroup( *[VGroup() for k in range(8)] )
                for k in range(8):
                    linea = line1.copy()
                    lineb = line2.copy()
                    line_list[k].add( linea )
                    line_list[k].add( lineb )
                    line_list[k].add( angles[k] )
                line_list.arrange_in_grid(n_rows=2, n_cols=4, buff=1.5)
                self.add(
                    line_list
                )
    .. manim:: FilledAngle
        :save_last_frame:

        class FilledAngle(Scene):
            def construct(self):
                l1 = Line(ORIGIN, 2 * UP + RIGHT).set_color(GREEN)
                l2 = (
                    Line(ORIGIN, 2 * UP + RIGHT)
                    .set_color(GREEN)
                    .rotate(-20 * DEGREES, about_point=ORIGIN)
                )
                norm = l1.get_length()
                a1 = Angle(l1, l2, other_angle=True, radius=norm - 0.5).set_color(GREEN)
                a2 = Angle(l1, l2, other_angle=True, radius=norm).set_color(GREEN)
                q1 = a1.get_points() #  save all coordinates of points of angle a1
                q2 = a2.reverse_direction().get_points()  #  save all coordinates of points of angle a1 (in reversed direction)
                pnts = np.concatenate([q1, q2, q1[0].reshape(1, 3)])  # adds points and ensures that path starts and ends at same point
                mfill = VMobject().set_color(ORANGE)
                mfill.set_points_as_corners(pnts).set_fill(GREEN, opacity=1)
                self.add(l1, l2)
                self.add(mfill)

    """

    def __init__(
        self,
        line1,
        line2,
        radius=None,